Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tell autotest the correct place to find the rspec command

- Fixes #478.
  • Loading branch information...
commit 96fa1191fcbd707fc27522fe74f1103626d103b7 1 parent 869855b
@dchelimsky dchelimsky authored
View
7 Changelog.md
@@ -1,3 +1,10 @@
+### dev
+
+[full changelog](http://github.com/rspec/rspec-core/compare/v2.7.0...master)
+
+* Bug fixes
+ * tell autotest the correct place to find the rspec command (David Chelimsky)
+
### 2.7.0 / 2011-10-16
[full changelog](http://github.com/rspec/rspec-core/compare/v2.6.4...v2.7.0)
View
2  lib/autotest/rspec2.rb
@@ -5,7 +5,7 @@ class RSpecCommandError < StandardError; end
class Autotest::Rspec2 < Autotest
- SPEC_PROGRAM = File.expand_path('../../../bin/rspec', __FILE__)
+ SPEC_PROGRAM = File.expand_path('../../../exe/rspec', __FILE__)
def initialize
super()
View
2  spec/autotest/rspec_spec.rb
@@ -2,7 +2,7 @@
describe Autotest::Rspec2 do
let(:rspec_autotest) { Autotest::Rspec2.new }
- let(:spec_cmd) { File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'bin', 'rspec')) }
+ let(:spec_cmd) { File.expand_path("../../../exe/rspec", __FILE__) }
let(:ruby_cmd) { "ruby" }
before do
Please sign in to comment.
Something went wrong with that request. Please try again.