From cde206dffee45ab7f4559ca6a66c061ed3f75d06 Mon Sep 17 00:00:00 2001 From: Joenio Costa Date: Wed, 2 Feb 2011 09:36:52 -0300 Subject: [PATCH] Fix 1 failing unit test in pgsql --- test/unit/application_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/application_helper_test.rb b/test/unit/application_helper_test.rb index 2f455be..2ba8945 100644 --- a/test/unit/application_helper_test.rb +++ b/test/unit/application_helper_test.rb @@ -419,9 +419,9 @@ class ApplicationHelperTest < Test::Unit::TestCase stubs(:environment).returns(Environment.default) @controller = ApplicationController.new - c = fast_create(Community, :name => 'Community for tests', :nickname => 'Community nickname', :identifier => 'test_comm') + c = fast_create(Community, :name => 'Community for tests', :nickname => 'Community nick', :identifier => 'test_comm') stubs(:profile).returns(c) - assert_match(/Community nickname/, page_title) + assert_match(/Community nick/, page_title) end should 'generate a gravatar url' do -- libgit2 0.21.2