spec/spec_helper.rb in git-trend-1.3.0 vs spec/spec_helper.rb in git-trend-1.4.0
- old
+ new
@@ -12,27 +12,16 @@
#
# The `.rspec` file also contains a few flags that are not defaults but that
# users commonly want.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
-# require "coveralls"
-# Coveralls.wear!
-
require "simplecov"
-require "webmock/rspec"
-require "git_trend"
-
-# require "codeclimate-test-reporter"
-dir = File.join(ENV["CIRCLE_ARTIFACTS"] || "coverage")
-SimpleCov.coverage_dir(dir)
SimpleCov.start do
add_filter "/spec/"
-
- formatter SimpleCov::Formatter::MultiFormatter.new([
- SimpleCov::Formatter::HTMLFormatter,
- # Coveralls::SimpleCov::Formatter
- ])
end
+
+require "webmock/rspec"
+require "git_trend"
RSpec.configure do |config|
config.expect_with :rspec do |expectations|
expectations.syntax = :expect
end