Skip to content

Commit

Permalink
preload models in ci before the suite
Browse files Browse the repository at this point in the history
the "slowest tests" are consistently inconsistent.
This loads the classes first so they show correctly now
  • Loading branch information
kbrock committed Dec 6, 2016
1 parent ecd2747 commit 0ca2656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
end

if ENV["TRAVIS"] && ENV["TEST_SUITE"] == "vmdb"
config.after(:suite) do
config.before(:suite) do
require Rails.root.join("spec/coverage_helper.rb")
end
end
Expand Down

0 comments on commit 0ca2656

Please sign in to comment.