spec/spec_helper.rb in waddup-0.2.1 vs spec/spec_helper.rb in waddup-0.2.2
- old
+ new
@@ -25,6 +25,11 @@
config.run_all_when_everything_filtered = true
# Run specs in random order to surface order dependencies
config.order = 'random'
+ config.mock_with :rspec do |mocks|
+ # RSpec 3.x upgrade path for any instance stubs
+ mocks.yield_receiver_to_any_instance_implementation_blocks = true
+ end
+
end