Re: [rspec-users] Cookies...

2009-08-14 Thread Stephen Eley
On Fri, Aug 14, 2009 at 10:35 AM, Denis Haskin wrote: > > (in application_helper_spec.rb) >     it "should return false and set the cookie to true if it is not set" do >   cookies[:fp_skip_hp_video].should == nil >   skip_hp_video.should == false >   cookies[:fp_skip_hp_video].should in

Re: [rspec-users] Fixtures not loading when running full test suite

2009-08-14 Thread Scott Taylor
On Aug 14, 2009, at 7:04 AM, Rob Aldred wrote: Hi, I've been trying to work this out for a while, im convinced its some local db configuration specific to my machine. When running `rake spec` 14 of my test fail all of them in the user_spec generated by restful auth. The error for all the

[rspec-users] Cookies...

2009-08-14 Thread Denis Haskin
Cookies continue to bedevil me in rspec. The doc seems to imply they're supported now (http://rspec.info/rails/changes-rspec-rails.html: "* Added proxy to cookies so you can set them in examples the same way you set them in controllers"). Maybe because it's because I'm trying to use them in

[rspec-users] Is this the correct add_mapping?

2009-08-14 Thread Peter Fitzgibbons
Hello All, a-la cucumber: Feature: Spec runs Integrations Scenario: When code changes, Integration specs run Given a rails app with controllers, models, view, helpers And a spec under spec/integration When code changes in app Then specs under spec/integration are run. So, in .au

[rspec-users] Fixtures not loading when running full test suite

2009-08-14 Thread Rob Aldred
Hi, I've been trying to work this out for a while, im convinced its some local db configuration specific to my machine. When running `rake spec` 14 of my test fail all of them in the user_spec generated by restful auth. The error for all the failing tests is: ActiveRecord::RecordNotFound Couldn't