From 1c36d54778dc407fa67b04c240b40e7090602568 Mon Sep 17 00:00:00 2001 From: Matt Wildig Date: Tue, 29 May 2012 20:31:21 +0100 Subject: [PATCH] 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. --- test/delegator_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/delegator_test.rb b/test/delegator_test.rb index 0566fbad65..72ba878d59 100644 --- a/test/delegator_test.rb +++ b/test/delegator_test.rb @@ -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