rails/rails — Issue #3849: assert_template with string gives false positives
Author: freegenie
Created: 2011-12-04 11:00:47+00:00
State: open

I found that the current implementation of assert_template can lead to false positives. Say we two templates 'world.html.erb' and 'hello_world.html.erb', when I get :hello_world, an assertion like

```
assert_template 'world'
```

will succeed.