Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add reference to `rack-test` in documentation #72

Merged
merged 1 commit into from

2 participants

@mrchrisadams

If you won't have rack-test installed, none of the testing examples work.

So this seemed to be the most logical place to mention this.

This should resolve issue #71.

@mrchrisadams mrchrisadams 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.
09e8294
@rkh rkh merged commit 064400c into sinatra:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 28, 2012
  1. @mrchrisadams

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

    mrchrisadams authored
    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.
This page is out of date. Refresh to see the latest.
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`
-----------------------------
Something went wrong with that request. Please try again.