failing test

This commit is contained in:
Seth Thomas Rasmussen 2010-02-01 23:47:44 -05:00
parent 3d400ed03a
commit 49df0bb77a

View File

@ -119,6 +119,13 @@ class ApplicationCheckerTest < ActiveSupport::TestCase
assert @checker.alerts.has_key?("Known broken plugins") assert @checker.alerts.has_key?("Known broken plugins")
end end
def test_ignoring_comments
make_file("config/", "routes.rb", "# map.connect 'fail'")
@checker.check_routes
assert !@checker.alerts.has_key?("Old router API")
end
def teardown def teardown
clear_files clear_files