spec/spec_helper.rb in invoker-1.5.6 vs spec/spec_helper.rb in invoker-1.5.7
- old
+ new
@@ -1,21 +1,21 @@
-require "pry"
require "simplecov"
+require 'coveralls'
require 'fakefs/spec_helpers'
+SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
add_filter "/spec/"
end
-
require "invoker"
require "invoker/power/power"
MM = Invoker::IPC::Message
RSpec.configure do |config|
config.run_all_when_everything_filtered = true
config.filter_run :focus
- config.mock_framework = :mocha
+ config.mock_with :mocha
config.include FakeFS::SpecHelpers, fakefs: true
# Run specs in random order to surface order dependencies. If you find an
# order dependency and want to debug it, you can fix the order by providing
# the seed, which is printed after each run.