Edge Regression: rendered_file replaced by rendered_template
Reported by Mike Vincent | July 17th, 2008 @ 07:46 PM | in 1.1.5
After updating edge rails and rspec lots of controller examples failed with method missing exceptions about rendered_file on ActionController::TestResponse
After looking around I saw the api changed slightly (diff) and rendered_file has been replaced by rendered_template. Attempting to fix the matcher did not work as expected though. rendered_template appears to always be nil :(
Attached diff of what I -thought- would fix it, but failed.
Also, do the matchers have specs? I didn't find any for the RenderTemplate matcher.
Comments and changes to this ticket
-
David Chelimsky July 18th, 2008 @ 04:21 AM
- → State changed from new to open
The nils happen when running in isolation mode. I'm looking into this.
-
David Chelimsky July 18th, 2008 @ 06:00 AM
- → Assigned user changed from to David Chelimsky
-
David Chelimsky July 18th, 2008 @ 06:01 AM
- → Milestone changed from No-Milestone-Assigned to 1.1.5
- → State changed from open to resolved
(from [6499e4e0d26451c090d88c4312fa245c189979b1]) Update handling of rendering to accomodate changes in edge rails. [#471 state:resolved milestone:"1.1.5"]
-
David Chelimsky July 18th, 2008 @ 02:56 PM
Mike - thanks for reporting this and pointing me in the right direction.
Cheers,
David
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.
