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 'allows passing time objects'. Rename tests so they don't clash.
This commit is contained in:
parent
4b361c915e
commit
1c262be44c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue