From d02c71dd4871e667c9eb0ff3e29765ed01c8825f Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Sat, 1 Mar 2008 20:16:57 +0000 Subject: [PATCH] ActionItem186: fixing test --- test/unit/application_helper_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/application_helper_test.rb b/test/unit/application_helper_test.rb index a666d24..26783af 100644 --- a/test/unit/application_helper_test.rb +++ b/test/unit/application_helper_test.rb @@ -25,7 +25,7 @@ class ApplicationHelperTest < Test::Unit::TestCase should 'not generate link to unexisting stylesheet' do File.expects(:exists?).with(File.join(RAILS_ROOT, 'public', 'stylesheets', 'something.css')).returns(false) expects(:filename_for_stylesheet).with('something', nil).returns('/stylesheets/something.css') - assert_equal '', stylesheet_import('something') + assert_no_match %r{@import url(/stylesheets/something.css)}, stylesheet_import('something') end should 'translate date' do -- libgit2 0.21.2