Skip to content

Commit

Permalink
fix minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego committed Jun 27, 2023
1 parent b20f513 commit e6d66bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .simplecov_spawn.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
unless ENV["COVERAGE"] && ENV["COVERAGE"].empty?
# frozen_string_literal: true

unless ENV['COVERAGE'] && ENV['COVERAGE'].empty?
require 'simplecov'
require 'simplecov-cobertura'

SimpleCov.command_name 'spawn'
SimpleCov.at_fork.call(Process.pid)
SimpleCov.formatter SimpleCov::Formatter::CoberturaFormatter
SimpleCov.start
end
end
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ gem 'roda'
gem 'rspec-rails'

group :test do
gem 'super_diff'
gem 'simplecov'
gem 'simplecov-cobertura'
gem 'super_diff'
end

group :development do
Expand Down

0 comments on commit e6d66bf

Please sign in to comment.