cover_me
cover_me copied to clipboard
Include views
Is there a way to include my view specs as well? I tried adding the views to the configuration file_pattern
(I'm using HAML) in my RSpec spec_helper
but this doesn't seem to change anything in the report.
c.file_pattern = [
/(#{CoverMe.config.project.root}\/app\/.+\.rb)/i,
/(#{CoverMe.config.project.root}\/lib\/.+\.rb)/i,
/(#{CoverMe.config.project.root}\/app\/.+\.haml)/i
]
Maybe this isn't possible (yet)?
Thanks!