Skip to content
Browse files

fix readme for testing user agent [#156]

  • Loading branch information...
1 parent 37cba5c commit 197c72a4b31e803a854e79005f9d6b198f35af99 @vangberg vangberg committed with rtomayko
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
2 README.rdoc
@@ -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

0 comments on commit 197c72a

Please sign in to comment.
Something went wrong with that request. Please try again.