Skip to content
Browse files

Fix test_with_rack_env example in README

First, there was a missing quote, and second :agent is more
clear than HTTP_USER_AGENT.
  • Loading branch information...
1 parent 93b19a3 commit c2940f62ed8f6c6afcf1b07e97c420c672404c67 @cypher cypher committed with rtomayko
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
2 README.rdoc
@@ -422,7 +422,7 @@ helper methods for testing your Sinatra app:
def test_with_rack_env
- get '/', {}, 'HTTP_USER_AGENT => 'Songbird'
+ get '/', {}, :agent => 'Songbird'
assert_equal "You're using Songbird!", @response.body

0 comments on commit c2940f6

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