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/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users