On Nov 4, 2008, at 3:46 PM, Fernando Perez wrote:
Are the docs on mock outdated? I sometimes see mock_model, and sometimesmock. Which one should be used?
mock_model is for ActiveRecord objects. it's just a mock() call with a random id stub set, and a :new_record? => false
Scott _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users