Browse files

Resolve test name conflict

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...
1 parent f948c23 commit 1c36d54778dc407fa67b04c240b40e7090602568 @mattwildig mattwildig committed May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/delegator_test.rb
2 test/delegator_test.rb
@@ -100,7 +100,7 @@ def target
assert_equal ["helpers", mixin.to_s], app.last_call
- it "registers helpers with the delegation target" do
+ it "registers middleware with the delegation target" do
app, mixin = mirror,
Sinatra.use mixin
assert_equal ["use", mixin.to_s], app.last_call

0 comments on commit 1c36d54

Please sign in to comment.