Commit fb87711e9fd7827d2c15021c6faa347421f4e3d5
1 parent
32a83735
Exists in
master
and in
22 other branches
rails3: Fix TagsHelper unit tests
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/unit/tags_helper_test.rb
| @@ -5,7 +5,7 @@ class TagsHelperTest < ActiveSupport::TestCase | @@ -5,7 +5,7 @@ class TagsHelperTest < ActiveSupport::TestCase | ||
| 5 | 5 | ||
| 6 | include ApplicationHelper | 6 | include ApplicationHelper |
| 7 | include TagsHelper | 7 | include TagsHelper |
| 8 | - include ActionController::UrlWriter | 8 | + include Rails.application.routes.url_helpers |
| 9 | 9 | ||
| 10 | def h(s); s; end | 10 | def h(s); s; end |
| 11 | def link_to(text, *args); text; end | 11 | def link_to(text, *args); text; end |