Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added some info about installing rack-test to make examples work

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...
commit 09e829493ff36d6a79188fb8e3eb74f648b04af9 1 parent 52ab2e0
@mrchrisadams authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 testing.markdown
View
5 testing.markdown
@@ -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`
-----------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.