Commit cde206dffee45ab7f4559ca6a66c061ed3f75d06

Authored by Joenio Costa
1 parent 92f9e933

Fix 1 failing unit test in pgsql

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
test/unit/application_helper_test.rb
@@ -419,9 +419,9 @@ class ApplicationHelperTest < Test::Unit::TestCase @@ -419,9 +419,9 @@ class ApplicationHelperTest < Test::Unit::TestCase
419 stubs(:environment).returns(Environment.default) 419 stubs(:environment).returns(Environment.default)
420 @controller = ApplicationController.new 420 @controller = ApplicationController.new
421 421
422 - c = fast_create(Community, :name => 'Community for tests', :nickname => 'Community nickname', :identifier => 'test_comm') 422 + c = fast_create(Community, :name => 'Community for tests', :nickname => 'Community nick', :identifier => 'test_comm')
423 stubs(:profile).returns(c) 423 stubs(:profile).returns(c)
424 - assert_match(/Community nickname/, page_title) 424 + assert_match(/Community nick/, page_title)
425 end 425 end
426 426
427 should 'generate a gravatar url' do 427 should 'generate a gravatar url' do