Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Standup 07/20/2009: render_template bug in RSpec

Interesting Things

Prior to RSpec 1.2.7, render_template in rspec-rails had a bug where render_template('new') would pass if ‘newer’ was rendered (or anything that started with ‘new’). Internally render_template was converting the string argument to a regular expression which was allowing ‘new’ to positively match ‘newer’ even though it was not an exact match. In RSpec-Rails 1.2.7 this bug has been fixed.

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *