aanand / deadweight

NOT MAINTAINED
MIT License
1.19k stars 52 forks source link

deadweight finds zero selectors when using rspec #31

Open aeonaut opened 9 years ago

aeonaut commented 9 years ago

Deadweight works as expected when I run it as a rake task. However, when I try to run it with rspec, it finds no selectors:

$ DEADWEIGHT=true rspec spec/features/surveys_index_spec.rb
No DRb server is running. Running in local process instead ...

found 0 unused selectors out of 0 total

Is there some way to make this work? Piggybacking on integration tests seems way better than trying to manually specify every page of my site.