spec/spec_helper.rb in rspec-1.2.2 vs spec/spec_helper.rb in rspec-1.2.3

- old
+ new

@@ -7,11 +7,11 @@ require 'spec' require 'spec/mocks' spec_classes_path = File.expand_path("#{dir}/../spec/spec/spec_classes") require spec_classes_path unless $LOAD_PATH.include?(spec_classes_path) -require File.dirname(__FILE__) + '/../lib/spec/expectations/differs/default' +require File.dirname(__FILE__) + '/../lib/spec/runner/differs/default' def jruby? ::RUBY_PLATFORM == 'java' end @@ -98,9 +98,12 @@ end class ExampleGroupDouble < ExampleGroup ::Spec::Runner.options.remove_example_group self def register_example_group(klass) #ignore + end + def initialize(proxy=nil, &block) + super(proxy || ExampleProxy.new, &block) end end end end