Skip to content

Commit

Permalink
testing with rspec: we have to require "rspec" (no more "spec")
Browse files Browse the repository at this point in the history
  • Loading branch information
mistersourcerer committed Jul 29, 2012
1 parent e02e3d0 commit ac12b43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing.markdown
Expand Up @@ -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
Expand All @@ -206,7 +206,7 @@ included within the `describe` block:
Make `Rack::Test` available to all spec contexts by including it via
`RSpec`:

require 'spec'
require 'rspec'
require 'rack/test'

RSpec.configure do |conf|
Expand Down

0 comments on commit ac12b43

Please sign in to comment.