Permalink
Browse files

Use one-liner for configuration.

  • Loading branch information...
1 parent 68787f7 commit e09f6e5e1b620981f4a9f4fdd65c98e0b35efd18 @justinko justinko committed Jun 2, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/rspec/rails/mocks.rb
@@ -240,7 +240,4 @@ def next_id
end
end
-RSpec.configure do |c|
- c.include RSpec::Rails::Mocks
-end
-
+RSpec.configuration.include RSpec::Rails::Mocks

0 comments on commit e09f6e5

Please sign in to comment.