mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Resolve test name conflict
There are two tests named "is possible to apply user_agent conditions to before filters with a path" in filters_test.rb, causing "method redefined" warnings and tests not being run. Rename second of these to accurately describe what it's testing
This commit is contained in:
parent
1950d202c6
commit
ad4cfaf2cf
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ class AfterFilterTest < Test::Unit::TestCase
|
|||
assert ran
|
||||
end
|
||||
|
||||
it 'is possible to apply user_agent conditions to before filters with a path' do
|
||||
it 'is possible to apply user_agent conditions to after filters with a path' do
|
||||
ran = false
|
||||
mock_app do
|
||||
after('/foo', :user_agent => /foo/) { ran = true }
|
||||
|
|
Loading…
Add table
Reference in a new issue