Permalink
Browse files

don't call autorun when registering an example group

- the rspec command already does this
- if you want to use the ruby command, require 'rspec/autorun'
  • Loading branch information...
1 parent 9f62063 commit bfd07650f54c1b432d03cffaadcf9d3cab2bf273 @dchelimsky dchelimsky committed May 8, 2011
Showing with 1 addition and 2 deletions.
  1. +0 −1 lib/rspec/core/example_group.rb
  2. +1 −1 spec/spec_helper.rb
@@ -22,7 +22,6 @@ def self.world
end
def self.register
- RSpec::Core::Runner.autorun
world.register(self)
end
View
@@ -1,4 +1,4 @@
-require 'rspec/core'
+require 'rspec/autorun'
require 'autotest/rspec2'
Dir['./spec/support/**/*.rb'].map {|f| require f}

0 comments on commit bfd0765

Please sign in to comment.