cover_me icon indicating copy to clipboard operation
cover_me copied to clipboard

Include views

Open cimm opened this issue 13 years ago • 0 comments

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!

cimm avatar Sep 15 '11 22:09 cimm