Skip to content
This repository
Browse code

Use one-liner for configuration.

  • Loading branch information...
commit e09f6e5e1b620981f4a9f4fdd65c98e0b35efd18 1 parent 68787f7
Justin Ko authored

Showing 1 changed file with 1 addition and 4 deletions. Show diff stats Hide diff stats

  1. 5  lib/rspec/rails/mocks.rb
5  lib/rspec/rails/mocks.rb
@@ -240,7 +240,4 @@ def next_id
240 240
   end
241 241
 end
242 242
 
243  
-RSpec.configure do |c|
244  
-  c.include RSpec::Rails::Mocks
245  
-end
246  
-
  243
+RSpec.configuration.include RSpec::Rails::Mocks

0 notes on commit e09f6e5

Please sign in to comment.
Something went wrong with that request. Please try again.