Skip to content

Commit c5ff1ff

Browse files
committed
fix specs
1 parent a5dc403 commit c5ff1ff

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spec/autotest/rspec_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
expect(cmd).to match(%r("/path/to/ruby"))
6262
end
6363

64-
it "gives '--tty' to #{Autotest::Rspec2::RSPEC_EXECUTABLE}, not '--autotest'" do
64+
it "gives '--tty' to #{ RSpec::Core.path_to_executable }, not '--autotest'" do
6565
cmd = rspec_autotest.make_test_cmd(@files_to_test)
6666
expect(cmd).to match(' --tty ')
6767
expect(cmd).not_to match(' --autotest ')

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require 'rubygems'
22
require 'rspec/autorun'
3+
require 'rspec/autotest'
34
require 'aruba/api'
45

56
if RUBY_PLATFORM == 'java'

0 commit comments

Comments
 (0)