Skip to content

Commit

Permalink
Resolve test name conflict
Browse files Browse the repository at this point in the history
In delegator_test.rb, there are two tests named
"registers helpers with the delegation target", causing "method
redefined" warnings and the first test not to be run.

Rename the second test so that all tests run.
  • Loading branch information
mattwildig committed May 29, 2012
1 parent f948c23 commit 1c36d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/delegator_test.rb
Expand Up @@ -100,7 +100,7 @@ def target
assert_equal ["helpers", mixin.to_s], app.last_call
end

it "registers helpers with the delegation target" do
it "registers middleware with the delegation target" do
app, mixin = mirror, Module.new
Sinatra.use mixin
assert_equal ["use", mixin.to_s], app.last_call
Expand Down

0 comments on commit 1c36d54

Please sign in to comment.