Skip to content

Commit

Permalink
Update for RSpec 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jc00ke committed Jul 25, 2011
1 parent eebcf1b commit 0e83482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing.markdown
Expand Up @@ -201,12 +201,12 @@ included within the `describe` block:
end

Make `Rack::Test` available to all spec contexts by including it via
`Spec::Runner`:
`RSpec`:

require 'spec'
require 'rack/test'

Spec::Runner.configure do |conf|
RSpec.configure do |conf|
conf.include Rack::Test::Methods
end

Expand Down

0 comments on commit 0e83482

Please sign in to comment.