Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add "." to the load path at the point where it is currently necessary

I don't think it belongs in mspec scripts; we may want to
avoid it entirely.
  • Loading branch information...
commit 3794477247efdefd265fda4c70a742fbb751ed78 1 parent 176f662
@jfirebaugh jfirebaugh authored
View
1  mspec/bin/mspec-ci
@@ -1,7 +1,6 @@
#!/usr/bin/env ruby
$:.unshift File.expand_path('../../lib', __FILE__)
-$:.unshift "."
require 'mspec/commands/mspec-ci'
require 'mspec'
View
1  mspec/bin/mspec-run
@@ -1,7 +1,6 @@
#!/usr/bin/env ruby
$:.unshift File.expand_path('../../lib', __FILE__)
-$:.unshift '.'
require 'mspec/commands/mspec-run'
require 'mspec'
View
2  spec/default.mspec
@@ -1,4 +1,6 @@
# vim: filetype=ruby
+
+$:.unshift "."
require 'spec/custom/mspec'
class MSpecScript
Please sign in to comment.
Something went wrong with that request. Please try again.