[rspec-users] Lot's o' questions about Cucumbert
lists at ruby-forum.com
Sun Sep 28 17:24:25 EDT 2008
Thank you David,
Is there a way to skip database initialization? Because it takes too
much time to run each test. Is there a similar way to mock objects or
create objects and have them "saved" in memory? I don't understand how
to do that.
I use for instance Product.create!(:title => 'title', :price => '15'),
but I am not sure the object gets saved or is accessible by RSpec. Do
you have an exmaple for that?
Posted via http://www.ruby-forum.com/.
More information about the rspec-users