Commit e8189236aa04df5695b250f978fc4acf396a671e
1 parent
f10141df
Exists in
master
and in
29 other branches
ActionItem955: fixing test
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/unit/language_helper_test.rb
... | ... | @@ -68,8 +68,8 @@ class LanguageHelperTest < Test::Unit::TestCase |
68 | 68 | "<#{tag}>#{text}</#{tag}>" |
69 | 69 | end |
70 | 70 | |
71 | - def link_to(text, opts) | |
72 | - "<a href='?lang=#{opts[:lang]}'>#{text}</a>" | |
71 | + def link_to(text, url, options = {}) | |
72 | + "<a href='?lang=#{url[:lang]}'>#{text}</a>" | |
73 | 73 | end |
74 | 74 | |
75 | 75 | def params | ... | ... |