Re: [rspec-users] loading fixtures?

2008-02-02 Thread Corey Haines
I see, sorry. I misunderstood. This is good to know. -Corey On Feb 1, 2008 5:03 AM, Stefan Magnus Landrø [EMAIL PROTECTED] wrote: try this instead: rake spec:db:fixtures:load HTH 2008/2/1, Andrew WC Brown [EMAIL PROTECTED]: loads the test fixtures, instead of the spec fixtures

Re: [rspec-users] loading fixtures?

2008-02-01 Thread Stefan Magnus Landrø
try this instead: rake spec:db:fixtures:load HTH 2008/2/1, Andrew WC Brown [EMAIL PROTECTED]: loads the test fixtures, instead of the spec fixtures directory.Does it work for you? On Jan 31, 2008 7:03 PM, Corey Haines [EMAIL PROTECTED] wrote: rake db:fixtures:load doesn't work? On

[rspec-users] loading fixtures?

2008-01-31 Thread Andrew WC Brown
How do you load fixtures from specs as you would test? eg. rake db:fixtures:load RAILS_ENV=development ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] loading fixtures?

2008-01-31 Thread Corey Haines
Do you want to load them in your controller? You can put class MyController fixtures :fixturename end -Corey On Jan 31, 2008 5:52 PM, Andrew WC Brown [EMAIL PROTECTED] wrote: How do you load fixtures from specs as you would test? eg. rake db:fixtures:load RAILS_ENV=development