Skip to content

Commit

Permalink
add simplecov filter for a spec folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Mifrill committed Oct 15, 2018
1 parent e6aab49 commit a70a217
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
require "fileutils"

require "simplecov"
SimpleCov.start

SimpleCov.start do
add_filter "/spec"
end

ENV["GUARD_SPECS_RUNNING"] = "1"

Expand Down

0 comments on commit a70a217

Please sign in to comment.