We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3700ed0 commit f2c6354Copy full SHA for f2c6354
test/rdoc/test_rdoc_task.rb
@@ -131,7 +131,7 @@ def test_tasks_creation_with_custom_name_hash
131
assert Rake::Task[:"rdoc"]
132
assert Rake::Task[:"rdoc:clean"]
133
assert Rake::Task[:"rdoc:force"]
134
- assert_raises(RuntimeError) { Rake::Task[:clobber_rdoc] }
+ assert_raise(RuntimeError) { Rake::Task[:clobber_rdoc] }
135
assert_equal options, rd.name
136
end
137
@@ -143,7 +143,7 @@ def test_tasks_creation_with_custom_name_hash_will_use_default_if_an_option_isnt
143
144
145
def test_tasks_creation_with_custom_name_hash_raises_exception_if_invalid_option_given
146
- assert_raises(ArgumentError) do
+ assert_raise(ArgumentError) do
147
RDoc::Task.new(:foo => "bar")
148
149
0 commit comments