aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/file_update_checker_shared_tests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/file_update_checker_shared_tests.rb')
-rw-r--r--activesupport/test/file_update_checker_shared_tests.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/activesupport/test/file_update_checker_shared_tests.rb b/activesupport/test/file_update_checker_shared_tests.rb
index de8796bf06..d038b4debd 100644
--- a/activesupport/test/file_update_checker_shared_tests.rb
+++ b/activesupport/test/file_update_checker_shared_tests.rb
@@ -274,10 +274,9 @@ module FileUpdateCheckerSharedTests
assert_equal 2, i
end
- test "execute raises an ArgumentError if no block given" do
- checker = new_checker([])
+ test "initialize raises an ArgumentError if no block given" do
assert_raise ArgumentError do
- checker.execute
+ checker = new_checker([])
end
end
end