fix readme for testing user agent [#156]
This commit is contained in:
parent
37cba5c70e
commit
197c72a4b3
|
@ -420,7 +420,7 @@ and Bacon through separate source files.
|
|||
end
|
||||
|
||||
def test_with_agent
|
||||
get '/', :agent => 'Songbird'
|
||||
get '/', :env => { :agent => 'Songbird' }
|
||||
assert_equal "You're in Songbird!", @response.body
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue