Permalink
Browse files

tell autotest the correct place to find the rspec command

- Fixes #478.
  • Loading branch information...
1 parent 869855b commit 96fa1191fcbd707fc27522fe74f1103626d103b7 @dchelimsky dchelimsky committed Oct 17, 2011
Showing with 9 additions and 2 deletions.
  1. +7 −0 Changelog.md
  2. +1 −1 lib/autotest/rspec2.rb
  3. +1 −1 spec/autotest/rspec_spec.rb
View
@@ -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
@@ -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()
@@ -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

0 comments on commit 96fa119

Please sign in to comment.