Hello,
I had used Fixtures and factory girl for preloading of data in earlier
version rspec.
Is there any new thing for loading of data in rspec 2 or do we have to
use the same.
Also is there any documentation link where i can get nice info about
rspec 2
On Thu, Jan 13, 2011 at 2:08 PM, Amit K. [email protected]
wrote:
Hello,
I had used Fixtures and factory girl for preloading of data in earlier
version rspec.
Is there any new thing for loading of data in rspec 2 or do we have to
use the same.
Also is there any documentation link where i can get nice info about
rspec 2
Not official, but nicely put together:
http://kerryb.github.com/iprug-rspec-presentation/
Hope it helps,
Aleksandar
Hi,
On Thu, Jan 13, 2011 at 22:08, Amit K. [email protected]
wrote:
I had used Fixtures and factory girl for preloading of data in earlier
version rspec.
Is there any new thing for loading of data in rspec 2 or do we have to
use the same.
I have a spec/fixtures/ directory containing YAML files with my
fixture data, which I guess is what you’re used to.
I like fixture_builder[1] for generating those fixtures for me from
Factories if you have them, or just plain old Model.create! calls.
Also is there any documentation link where i can get nice info about
rspec 2
There is also some good documentation at http://relishapp.com/rspec
Mike
[1] GitHub - rdy/fixture_builder: fixture builder based on code from fixture scenarios