Rspec with out Active Record

I want to use rspec with my application where we don’t have database.
I want to know how to use fixtures with out ORM layer.

On Mar 17, 2010, at 6:25 PM, harinionrails wrote:

I want to use rspec with my application where we don’t have database.

The answer to this is in spec/spec_helper.rb (lines 16 - 21), which is
generated when you run “script/generate rspec” in the root of your rails
app:

I want to know how to use fixtures with out ORM layer.

Rails fixtures are specifically intended for use with an ORM layer.
Without one, you’ll have to roll your own test data.

HTH,
David

On Thursday 18 March 2010 00.25:51 harinionrails wrote:

I want to use rspec with my application where we don’t have database.
I want to know how to use fixtures with out ORM layer.
Probably those fixtures are now called ‘stubs’.