Skip to content

Commit

Permalink
better load all files in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Oct 29, 2014
1 parent faacce5 commit 574b7f9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,4 @@ def fixtures_file(file)
require_relative "factories"

# force loading all files to report proper code coverage
Dir["src/lib/**/*.rb"].each do |file|
require "./#{file}"
end
Dir.chdir("src/lib") { Dir["**/*.rb"].each { |f| require f } }

0 comments on commit 574b7f9

Please sign in to comment.