Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing the Boxer API #8

Open
NikoRoberts opened this issue Jan 28, 2014 · 0 comments
Open

Testing the Boxer API #8

NikoRoberts opened this issue Jan 28, 2014 · 0 comments

Comments

@NikoRoberts
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant