Forum: RSpec Load dummy data using Factory girl

Posted by Amit Kulkarni (ak123)
on 2010-08-16 14:23
Hello,
I wanted to know how to load dummy data in the application using Factory
girl.
I had done this using Fixtures.I had made a fixtures folder into the
test folder and run the command "rake test fixtures:load"
Currently i tried using factories in the spec which is working fine.
Wanted to know know regarding loading dummy data.
Posted by Amit Kulkarni (ak123)
on 2010-08-18 17:46
Amit Kulkarni wrote:
> Hello,
> I wanted to know how to load dummy data in the application using Factory
> girl.
> I had done this using Fixtures.I had made a fixtures folder into the
> test folder and run the command "rake test fixtures:load"
> Currently i tried using factories in the spec which is working fine.
> Wanted to know know regarding loading dummy data.

Any updates...
Posted by David Chelimsky (Guest)
on 2010-08-18 18:34
(Received via mailing list)
On Aug 18, 2010, at 10:46 AM, Amit Kulkarni wrote:

> Amit Kulkarni wrote:
>> Hello,
>> I wanted to know how to load dummy data in the application using Factory
>> girl.
>> I had done this using Fixtures.I had made a fixtures folder into the
>> test folder and run the command "rake test fixtures:load"
>> Currently i tried using factories in the spec which is working fine.
>> Wanted to know know regarding loading dummy data.
> 
> Any updates...

This is something I've never done before. Have you tried the factory 
girl list?

http://groups.google.com/group/factory_girl
Posted by Amit Kulkarni (ak123)
on 2010-08-19 15:49
David Chelimsky wrote:
> On Aug 18, 2010, at 10:46 AM, Amit Kulkarni wrote:
> 
>> Amit Kulkarni wrote:
>>> Hello,
>>> I wanted to know how to load dummy data in the application using Factory
>>> girl.
>>> I had done this using Fixtures.I had made a fixtures folder into the
>>> test folder and run the command "rake test fixtures:load"
>>> Currently i tried using factories in the spec which is working fine.
>>> Wanted to know know regarding loading dummy data.
>> 
>> Any updates...
> 
> This is something I've never done before. Have you tried the factory 
> girl list?
> 
> http://groups.google.com/group/factory_girl

No,Will post it.
Thanks.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.