spec/spec_helper.rb in fusuma-2.4.0 vs spec/spec_helper.rb in fusuma-2.4.1
- old
+ new
@@ -1,12 +1,12 @@
# frozen_string_literal: true
require 'bundler/setup'
require 'helpers/config_helper'
-require 'coveralls'
-Coveralls.wear!
+require 'simplecov'
+
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = '.rspec_status'
# Disable RSpec exposing methods globally on `Module` and `main`
@@ -16,5 +16,8 @@
c.syntax = :expect
end
config.include(Fusuma::ConfigHelper)
end
+
+SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
+SimpleCov.start