Browse files

remove unneeded call to super (1.9 compat)

  • Loading branch information...
1 parent d81c090 commit c296e8bfd1d40c24abdaa4a4572ddcb602b32b44 @dchelimsky dchelimsky committed Mar 2, 2010
Showing with 4 additions and 7 deletions.
  1. +0 −1 lib/rspec/core/example_group.rb
  2. +4 −6 spec/rspec/core/example_group_subject_spec.rb
View
1 lib/rspec/core/example_group.rb
@@ -11,7 +11,6 @@ class ExampleGroup
attr_accessor :running_example
def self.inherited(klass)
- super(klass)
Rspec::Core.configuration.autorun!
Rspec::Core.world.example_groups << klass
end
View
10 spec/rspec/core/example_group_subject_spec.rb
@@ -52,12 +52,10 @@ module Rspec::Core
nested_group.subject.call.should == [4,5,6]
end
- with_ruby('1.8') do
- it "is available in a doubly nested group (subclass)" do
- nested_group = group.describe("Nesting level 1") { }
- doubly_nested_group = nested_group.describe("Nesting level 2") { }
- doubly_nested_group.subject.call.should == [4,5,6]
- end
+ it "is available in a doubly nested group (subclass)" do
+ nested_group = group.describe("Nesting level 1") { }
+ doubly_nested_group = nested_group.describe("Nesting level 2") { }
+ doubly_nested_group.subject.call.should == [4,5,6]
end
end
end

0 comments on commit c296e8b

Please sign in to comment.