#22 new
James Mead

Provide mock_model or equivalent

Reported by James Mead | January 2nd, 2009 @ 05:04 PM

RSpec & FlexMock provide a Rails-specific way to create mocks for ActiveRecord models. Consider adding this to Mocha ideally in an entirely optional way i.e. not needed for people using Ruby but not Rails.

See...

http://groups.google.com/group/m... http://rspec.lighthouseapp.com/p... http://railsforum.com/viewtopic.... http://fr.ivolo.us/posts/test-un... http://jakescruggs.blogspot.com/...

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A mocking & stubbing library for Ruby.

* <a href="http://github.com/floehopper/mocha">GitHub repository</a>
* <a href="http://mocha.rubyforge.org">Documentation</a>
* <a href="http://groups.google.com/group/mocha-developer">Mailing List</a>

People watching this ticket

Pages