How do I get coverage for view specs with rspec, rails, and simplecov?

后端 未结 1 902
生来不讨喜
生来不讨喜 2020-12-31 02:16

I have a project in which I\'m using rails 3.2.3, rspec 2.9.0, and simplecov 0.6.1, all seem to be the latest gems.

I\'m getting code coverage results for my control

相关标签:
1条回答
  • 2020-12-31 02:47

    Apparently, the answer to this is "you can't", due to a limitation in the standard ruby coverage library:

    https://github.com/colszowka/simplecov/issues/38

    0 讨论(0)
提交回复
热议问题