Spring, the app preloader that's integrated with Rails 4.1+, and SimpleCov, everyone's favorite test coverage analyzer don't seem to play nice. The symptoms are differing results when you run rspec one-off versus when you run it using Spring. The Spring results will skip many files because of eager loading; SimpleCov doesn't get loaded before your app does.
config/spring.rb file and move your SimpleCov config into it from your
spec_helper.rb file. For example:
if ENV['RAILS_ENV'] == 'test'
You might also be interested in these articles...
Founder. Developer. Surfer. Skier. Libertarian. Atheist.