Paul Dowman
2007-Apr-17 23:00 UTC
[rspec-users] using rake db:fixtures:load with rspec fixtures
Hi, I''m new to rspec. I have some fixtures in /spec/fixtures. If they were in /test/fixtures they could be loaded with rake db:fixtures:load. Is there any way other than a symlink to load my rspec fixtures into the database with rake? Or, can I cause rspec to load the fixtures from /test/fixtures? Thanks, Paul
David Chelimsky
2007-Apr-17 23:12 UTC
[rspec-users] using rake db:fixtures:load with rspec fixtures
On 4/17/07, Paul Dowman <lists at pauldowman.com> wrote:> Hi, I''m new to rspec. I have some fixtures in /spec/fixtures. If they > were in /test/fixtures they could be loaded with rake db:fixtures:load. > > Is there any way other than a symlink to load my rspec fixtures into > the database with rake? Or, can I cause rspec to load the fixtures > from /test/fixtures?The fixture_path gets set in spec/spec_helper.rb. David> > Thanks, > Paul > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
Josh Knowles
2007-Apr-17 23:29 UTC
[rspec-users] using rake db:fixtures:load with rspec fixtures
On 4/17/07, Paul Dowman <lists at pauldowman.com> wrote:> > Hi, I''m new to rspec. I have some fixtures in /spec/fixtures. If they > were in /test/fixtures they could be loaded with rake db:fixtures:load.The equivalent rspec command is rake spec:db:fixtures:load. -- Josh Knowles joshknowles at gmail.com http://joshknowles.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070417/85fe1adf/attachment.html
Paul Dowman
2007-Apr-18 15:10 UTC
[rspec-users] using rake db:fixtures:load with rspec fixtures
Great, thanks! On 17-Apr-07, at 7:29 PM, Josh Knowles wrote:> > On 4/17/07, Paul Dowman <lists at pauldowman.com> wrote: Hi, I''m new > to rspec. I have some fixtures in /spec/fixtures. If they > were in /test/fixtures they could be loaded with rake > db:fixtures:load. > > > The equivalent rspec command is rake spec:db:fixtures:load. > > > > -- > Josh Knowles > joshknowles at gmail.com > http://joshknowles.com > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users