In the Using Boxer with Rails wiki page where it says:
# Load all of our boxes
unless Rails.env.test?
Dir[File.join(Rails.root, 'lib', 'boxer', '**', '*.rb')].each do |f|
require_dependency f
end
end
Why wouldn't you want to load the Boxer in the test environment?
We want to make sure these endpoints are working but we are assuming there might be a logical reason why this was suggested. Can anyone clear this up?
cc. @bcoelh0
In the Using Boxer with Rails wiki page where it says:
Why wouldn't you want to load the Boxer in the test environment?
We want to make sure these endpoints are working but we are assuming there might be a logical reason why this was suggested. Can anyone clear this up?
cc. @bcoelh0