fix readme for testing user agent [#156]

This commit is contained in:
ichverstehe 2009-02-19 23:42:58 +01:00 committed by Ryan Tomayko
parent 37cba5c70e
commit 197c72a4b3
1 changed files with 1 additions and 1 deletions

View File

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