Commit 88e7e70e8287433107fa5cf185e0d8d689afa211
1 parent
05a0d390
Exists in
staging
and in
42 other branches
ActionItem154: fixing language_helper test
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1416 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
test/unit/language_helper_test.rb
| @@ -38,7 +38,11 @@ class LanguageHelperTest < Test::Unit::TestCase | @@ -38,7 +38,11 @@ class LanguageHelperTest < Test::Unit::TestCase | ||
| 38 | 38 | ||
| 39 | protected | 39 | protected |
| 40 | 40 | ||
| 41 | - def content_tag(tag, text) | 41 | + def _(s) |
| 42 | + s | ||
| 43 | + end | ||
| 44 | + | ||
| 45 | + def content_tag(tag, text, options = {}) | ||
| 42 | "<#{tag}>#{text}</#{tag}>" | 46 | "<#{tag}>#{text}</#{tag}>" |
| 43 | end | 47 | end |
| 44 | 48 |