dchelimsky/rspec-rails — Issue #15: render_template giving false positive 
Author: freegenie
Created: 2011-12-03 20:53:38+00:00
State: open

Hi, I'm noticing this problem today. I have a controller that conditionally renders two templates, :ask_email and :ask_email_and_interest.

Testing the rendering of :ask_email I get a passing test even if it's rendering :ask_email_and_password template.

```
response.should render_template('ask_email') # true
response.should render_template('ask_email_and_interest') # true
response.should render_template('a') # true
```

Using version 2.7.0.