Skip to content

Commit

Permalink
Added some info about installing rack-test to make examples work
Browse files Browse the repository at this point in the history
If you won't have rack-test installed, none of the examples work. So this seemed to be the most logical place to mention this factoid.
  • Loading branch information
mrchrisadams committed Jun 28, 2012
1 parent 52ab2e0 commit 09e8294
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testing.markdown
Expand Up @@ -10,7 +10,10 @@ Testing Sinatra with Rack::Test
All examples in the following sections assume that `Test::Unit` is being
used in an attempt to be as general as possible. See the [Test Framework
Examples](#frameworks) for information on using the test helpers in
other testing environments.
other testing environments. To use `Rack::Test` library used when you require `rack/test`, you'll need to install the `rack-test` gem.

gem install rack-test


Example App: `hello_world.rb`
-----------------------------
Expand Down

0 comments on commit 09e8294

Please sign in to comment.