spec/spec_helper.rb in git-trend-1.2.9 vs spec/spec_helper.rb in git-trend-1.3.0

- old
+ new

@@ -15,12 +15,14 @@ # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration # require "coveralls" # Coveralls.wear! -require "pry" 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/" @@ -28,14 +30,9 @@ formatter SimpleCov::Formatter::MultiFormatter.new([ SimpleCov::Formatter::HTMLFormatter, # Coveralls::SimpleCov::Formatter ]) end - -require "webmock/rspec" - -require "git_trend" -SimpleCov.start RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.syntax = :expect end