Resolve test name conflict

There are two tests named 'allows passing time objects'.

Rename tests so they don't clash.
This commit is contained in:
Matt Wildig 2012-05-29 21:30:54 +01:00
parent 4b361c915e
commit 1c262be44c
1 changed files with 2 additions and 2 deletions

View File

@ -812,12 +812,12 @@ class HelpersTest < Test::Unit::TestCase
assert_not_nil response['Expires']
end
it 'allows passing time objects' do
it 'allows passing Time.now objects' do
get '/bar'
assert_not_nil response['Expires']
end
it 'allows passing time objects' do
it 'allows passing Time.at objects' do
get '/baz'
assert_equal 'Thu, 01 Jan 1970 00:00:00 GMT', response['Expires']
end