-
Notifications
You must be signed in to change notification settings - Fork 18
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
Custom CoverMe.config settings are ignored #66
Comments
I can get it to work if I change c.project.root (I'm changing it to "test") |
I am no expert and just discovering CoverMe but I think you have to add your configuration in your test configuration file (like spec_helper.rb for RSpec). Otherwise it would be loaded when you load Rails and I don't see why you would want to load the CoverMe configuration in a production environment for example. |
I have it surrounded by an: if Rails.env.test? |
This worked for me. lib/tasks/cover_me.rake ...task :report do |
I created a file cover_me.rb and put it in /initializers
cover_me ignores these settings and always uses defaults.
The text was updated successfully, but these errors were encountered: