Permalink
Browse files

pass arg explicitly to super (Ruby-1.9 compat)

  • Loading branch information...
1 parent 992394a commit 14c7164c4b3436528057f90eaf8ab520b39def11 @dchelimsky dchelimsky committed Feb 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/core/example_group.rb
@@ -11,7 +11,7 @@ class ExampleGroup
attr_accessor :running_example
def self.inherited(klass)
- super
+ super(klass)
Rspec::Core.configuration.autorun!
Rspec::Core.world.example_groups << klass
end

0 comments on commit 14c7164

Please sign in to comment.