fix to_param in mock_model returning auto id when passed stubbed id
Reported by Adam Meehan | June 25th, 2008 @ 01:40 AM | in No-Milestone-Assigned
The mock_model to_param stub returns the wrong id when you pass the id in stubs hash. Currently returns auto id instead of stub hash id.
I broke this a while ago, with a patch so its nice to fix it as well.
Adam
Comments and changes to this ticket
-
Pat Maddox July 13th, 2008 @ 07:08 AM
- → State changed from new to resolved
- → Tag changed from to patch rspec_on_rails
Thanks for the fix! Applied in http://github.com/dchelimsky/rsp...
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.
