Commit d02c71dd4871e667c9eb0ff3e29765ed01c8825f

Authored by AntonioTerceiro
1 parent 00c81382

ActionItem186: fixing test


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1542 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/unit/application_helper_test.rb
@@ -25,7 +25,7 @@ class ApplicationHelperTest < Test::Unit::TestCase @@ -25,7 +25,7 @@ class ApplicationHelperTest < Test::Unit::TestCase
25 should 'not generate link to unexisting stylesheet' do 25 should 'not generate link to unexisting stylesheet' do
26 File.expects(:exists?).with(File.join(RAILS_ROOT, 'public', 'stylesheets', 'something.css')).returns(false) 26 File.expects(:exists?).with(File.join(RAILS_ROOT, 'public', 'stylesheets', 'something.css')).returns(false)
27 expects(:filename_for_stylesheet).with('something', nil).returns('/stylesheets/something.css') 27 expects(:filename_for_stylesheet).with('something', nil).returns('/stylesheets/something.css')
28 - assert_equal '', stylesheet_import('something') 28 + assert_no_match %r{@import url(/stylesheets/something.css)}, stylesheet_import('something')
29 end 29 end
30 30
31 should 'translate date' do 31 should 'translate date' do