From 0e834822fb64abd3efe0b039defed3ad84c2ae1f Mon Sep 17 00:00:00 2001 From: Jesse Cooke Date: Mon, 25 Jul 2011 11:35:22 -0700 Subject: [PATCH] Update for RSpec 2 --- testing.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing.markdown b/testing.markdown index 5e7a724d..d0841229 100644 --- a/testing.markdown +++ b/testing.markdown @@ -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