#383 √ resolved
Eric Smith

Extract mock_model out of RailsExampleGroup

Reported by Eric Smith | April 17th, 2008 @ 12:05 AM | in 1.1.4

The mock_model syntax for ActiveRecord models is extremely handy, unfortunately it's not available outside of a Rails project so I'm reduced to doing things like stubbing associations to test ActiveRecord objects. I really want to be able to set an association to a mock, so extracting that would be great.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

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

Behaviour Driven Development for Ruby.

Shared Ticket Bins

People watching this ticket