Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/boot/start.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require "bundler/setup"

if ["development", "test"].include?(ENV["FOOBARA_ENV"])
# :nocov:
# simplecov:disable
if ENV["CI"] != "true"
if ENV["RUBY_DEBUG"] == "true"
require "debug"
Expand All @@ -14,7 +14,7 @@
require "pry-byebug"
end
end
# :nocov:
# simplecov:enable
end

require_relative "config"
2 changes: 1 addition & 1 deletion templates/spec/support/simplecov.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "simplecov"

SimpleCov.start do
add_filter "spec/support"
skip "spec/support"
# enable_coverage :branch
minimum_coverage line: 100
# TODO: enable this? worth it to get to 100% branch coverage?
Expand Down
Loading