block rails3
This commit is contained in:
parent
6593b5709b
commit
14169b1770
11 changed files with 11 additions and 11 deletions
|
@ -240,7 +240,7 @@ class ApplicationCheckerTest < ActiveSupport::TestCase
|
|||
end
|
||||
|
||||
def test_check_helpers
|
||||
make_file("app/views/users/", "test.html.erb", "<b>blah blah blah</b><% form_for(:thing) do |f| %> <label>doo dah</label> <%= f.whatever %> <% end %>")
|
||||
make_file("app/views/users/", "test.html.erb", "<b>blah blah blah</b><%= form_for(:thing) do |f| %> <label>doo dah</label> <%= f.whatever %> <% end %>")
|
||||
@checker.check_old_helpers
|
||||
|
||||
assert @checker.alerts.has_key?("Deprecated ERb helper calls")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue