spec/spec_helper.rb in venice-0.2.0 vs spec/spec_helper.rb in venice-0.3.0
- old
+ new
@@ -1,11 +1,19 @@
unless ENV['CI']
require 'simplecov'
-
+
SimpleCov.start do
add_filter 'spec'
add_filter '.bundle'
end
end
require 'venice'
require 'rspec'
+
+RSpec.configure do |config|
+
+ config.mock_with :rspec do |mocks|
+ mocks.yield_receiver_to_any_instance_implementation_blocks = false
+ end
+
+end