summaryrefslogtreecommitdiff
path: root/test/rake/test_rake_test_task.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rake/test_rake_test_task.rb')
-rw-r--r--test/rake/test_rake_test_task.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rake/test_rake_test_task.rb b/test/rake/test_rake_test_task.rb
index 7d490a0f6c..1a6d23e425 100644
--- a/test/rake/test_rake_test_task.rb
+++ b/test/rake/test_rake_test_task.rb
@@ -93,7 +93,7 @@ class TestRakeTestTask < Rake::TestCase
t.loader = :testrb
end
- flexmock(test_task).should_receive(:ruby_version).and_return('1.8.2')
+ def test_task.ruby_version() '1.8.2' end
assert_match(/^-S testrb +".*"$/, test_task.run_code)
end
@@ -103,7 +103,7 @@ class TestRakeTestTask < Rake::TestCase
t.loader = :testrb
end
- flexmock(test_task).should_receive(:ruby_version).and_return('1.8.6')
+ def test_task.ruby_version() '1.8.6' end
assert_match(/^-S testrb +$/, test_task.run_code)
end