Now that I''m developing a big suite of specs, I really want to run Heckle and see how well I''ve done. Using r1359, when I run: spec spec/models/metadata_report_spec.rb --heckle MetadataReport the result is just to run the specs once and then exit, as though I hadn''t mentioned Heckle. I started looking though rspec to figure out why, but it''s late, so I should sleep instead. I guess the question is, has anyone had luck using Heckle with Rails? I''ve got it working for regular ruby specs, and it''s a lot of fun (although I do hit infinite loops sometimes). Thanks! -- Chris Anderson http://jchris.mfdz.com
Chris Anderson wrote:> I guess the question is, has anyone had luck using Heckle with Rails? > I''ve got it working for regular ruby specs, and it''s a lot of fun > (although I do hit infinite loops sometimes).If I heckle an ActiveRecord model, I get all sorts of noise about the various methods ActiveRecord adds. However, if I heckle a regular old class I wrote, I get the results you''re seeing - single run, no heckling. Not sure what to go look at from here. Jay Levitt
Jay Levitt wrote:> If I heckle an ActiveRecord model, I get all sorts of noise about the > various methods ActiveRecord adds. However, if I heckle a regular old > class I wrote, I get the results you''re seeing - single run, no > heckling. Not sure what to go look at from here.No, ignore that - I was mistyping my own class name! When I heckle the class, it works as expected. Jay