spec/spec_helper.rb in brcobranca-6.9.1 vs spec/spec_helper.rb in brcobranca-7.0.0
- old
+ new
@@ -1,6 +1,8 @@
# -*- encoding: utf-8 -*-
+#
+
require 'coveralls'
Coveralls.wear!
SimpleCov.start
@@ -28,11 +30,9 @@
end
config.mock_with :rspec do |mocks|
mocks.syntax = :expect
mocks.verify_partial_doubles = true
end
- if config.files_to_run.one?
- config.default_formatter = 'doc'
- end
+ config.default_formatter = 'doc' if config.files_to_run.one?
end
RGhost::Config.config_platform