diff options
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/file_update_checker_shared_tests.rb | 5 |
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 |