From fc888b289a424fa93848ffdac3dc4b24fdd34950 Mon Sep 17 00:00:00 2001 From: Martyn Loughran Date: Fri, 10 Sep 2010 12:22:14 +0100 Subject: [PATCH] Update to support RSpec 2 --- lib/em-spec/rspec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/em-spec/rspec.rb b/lib/em-spec/rspec.rb index a1ac9aa..1874bf2 100644 --- a/lib/em-spec/rspec.rb +++ b/lib/em-spec/rspec.rb @@ -7,7 +7,7 @@ module SpecHelper SpecTimeoutExceededError = Class.new(RuntimeError) def self.included(cls) - ::Spec::Example::ExampleGroup.instance_eval " + ::RSpec::Core::ExampleGroup.instance_eval " @@_em_default_time_to_finish = nil def self.default_timeout(timeout) @@_em_default_time_to_finish = timeout