Skip to content

Commit

Permalink
fixup! ⚙️ configure code coverge with coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
jibidus committed Feb 16, 2021
1 parent 9107637 commit 014f8c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
require "model_validator"

# Code coverage
require "simplecov"
require "coveralls"
Coveralls.wear!
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
track_files "lib/**/*.rb"
add_filter "rspec"
end

Dir[File.join(__dir__, "support", "*.rb")].sort.each { |file| require file }

Expand Down

0 comments on commit 014f8c0

Please sign in to comment.