diff --git a/CHANGELOG.md b/CHANGELOG.md index 771feb0..4be15ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # main [(unreleased)](https://github.com/fastruby/next_rails/compare/v1.2.0...main) +- [BUGFIX: SimpleCov was not reporting accurately due to a bug in the spec helper code](https://github.com/fastruby/next_rails/pull/66) + +- [FEATURE: Better documentation for contributing and releasing versions of this gem](https://github.com/fastruby/next_rails/pull/53) + # v1.2.0 / 2022-08-12 [(commits)](https://github.com/fastruby/next_rails/compare/v1.1.0...v1.2.0) - [FEATURE: Support Ruby versions as old as Ruby 2.0](https://github.com/fastruby/next_rails/pull/54) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2f42824..e56af3c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,8 +1,3 @@ -require "bundler/setup" -require "next_rails" - -require 'webmock/rspec' -WebMock.disable_net_connect!(allow_localhost: true) if ENV['COVERAGE'] == 'true' require 'simplecov' @@ -23,6 +18,12 @@ end end +require "bundler/setup" +require "next_rails" + +require 'webmock/rspec' +WebMock.disable_net_connect!(allow_localhost: true) + RSpec.configure do |config| # Enable flags like --only-failures and --next-failure config.example_status_persistence_file_path = ".rspec_status"