Skip to content

Commit

Permalink
Update README code example quotes to be consistent.
Browse files Browse the repository at this point in the history
Implements PR #112
  • Loading branch information
Dennis Sivia authored and perlun committed Apr 21, 2017
1 parent 2178498 commit 4f40cdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ request helpers feature.

If you want to test one app in isolation, you just return that app as shown above. But if you want to test the entire app stack, including middlewares, cascades etc. you need to parse the app defined in config.ru.

OUTER_APP = Rack::Builder.parse_file('config.ru').first
OUTER_APP = Rack::Builder.parse_file("config.ru").first

class TestApp < Test::Unit::TestCase
include Rack::Test::Methods
Expand All @@ -51,7 +51,7 @@ If you want to test one app in isolation, you just return that app as shown abov
end

def test_root
get '/'
get "/"
assert last_response.ok?
end
end
Expand Down

0 comments on commit 4f40cdd

Please sign in to comment.