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:
Matt Wildig 2012-05-29 20:56:26 +01:00
parent 1950d202c6
commit ad4cfaf2cf
1 changed files with 1 additions and 1 deletions

View File

@ -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 }