block rails3

This commit is contained in:
Espen Antonsen 2010-09-17 18:52:59 +02:00
parent 6593b5709b
commit 14169b1770
11 changed files with 11 additions and 11 deletions

View file

@ -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")