Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge pull request #74 from ricardovaleriano/master

In order to test with rspec, we have to require "rspec" instead of just "spec".
  • Loading branch information...
commit 9e1924b698d7fdcf53cf99836808386f40e2ce0f 2 parents e02e3d0 + ac12b43
@rkh rkh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 testing.markdown
4 testing.markdown
@@ -184,7 +184,7 @@ Sinatra can be tested under plain RSpec. The `Rack::Test` module should be
included within the `describe` block:
require 'hello_world' # <-- your sinatra app
- require 'spec'
+ require 'rspec'
require 'rack/test'
set :environment, :test
@@ -206,7 +206,7 @@ included within the `describe` block:
Make `Rack::Test` available to all spec contexts by including it via
- require 'spec'
+ require 'rspec'
require 'rack/test'
RSpec.configure do |conf|
Please sign in to comment.
Something went wrong with that request. Please try again.