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.
This commit is contained in:
Matt Wildig 2012-05-29 20:31:21 +01:00
parent f948c236fe
commit 1c36d54778
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class DelegatorTest < Test::Unit::TestCase
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