Commit 14b4ab5b3445d84a1435f8c1c09ec9cd9dc5dc27
1 parent
b24d0689
Exists in
master
and in
29 other branches
ActionItem517: removing obsolete test
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2182 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
0 additions
and
7 deletions
Show diff stats
test/unit/application_helper_test.rb
... | ... | @@ -34,13 +34,6 @@ class ApplicationHelperTest < Test::Unit::TestCase |
34 | 34 | assert_no_match %r{@import url(/stylesheets/something.css)}, stylesheet_import('something') |
35 | 35 | end |
36 | 36 | |
37 | - should 'translate date' do | |
38 | - date = mock | |
39 | - expects(:_).with('%d %B %Y').returns('the date') | |
40 | - date.expects(:strftime).with('the date').returns('translated date') | |
41 | - assert_equal 'translated date', show_date(date) | |
42 | - end | |
43 | - | |
44 | 37 | should 'handle nil dates' do |
45 | 38 | assert_equal '', show_date(nil) |
46 | 39 | end | ... | ... |