[rspec-users] loading fixtures?

Andrew WC Brown omen.king at gmail.com
Thu Jan 31 18:57:11 EST 2008


no, just database

On Jan 31, 2008 6:56 PM, Corey Haines <coreyhaines at gmail.com> wrote:

> 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 <omen.king at gmail.com> wrote:
>
> > 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 at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-users
> >
>
>
>
> --
> http://www.coreyhaines.com
> The Internet's Premiere source of information about Corey Haines
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080131/4583e5c9/attachment.html 


More information about the rspec-users mailing list