mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
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:
parent
f948c236fe
commit
1c36d54778
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue