Commit 9f8b8883cbb3d4938895214283b05a11db0090e1

Authored by AntonioTerceiro
1 parent 870d43a9

ActionItem591: fixing test

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2424 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/functional/cms_controller_test.rb
@@ -520,7 +520,7 @@ class CmsControllerTest < Test::Unit::TestCase @@ -520,7 +520,7 @@ class CmsControllerTest < Test::Unit::TestCase
520 @request.expects(:referer).returns('http://colivre.net/testinguser') 520 @request.expects(:referer).returns('http://colivre.net/testinguser')
521 get :edit, :profile => 'testinguser', :id => @profile.home_page.id 521 get :edit, :profile => 'testinguser', :id => @profile.home_page.id
522 assert_tag :tag => 'input', :attributes => { :type => 'hidden', :name => 'back_to', :value => 'public_view' } 522 assert_tag :tag => 'input', :attributes => { :type => 'hidden', :name => 'back_to', :value => 'public_view' }
523 - assert_tag :tag => 'a', :descendant => { :content => 'Cancel' }, :attributes => { :href => 'http://colivre.net/testinguser/testingusers-home-page' } 523 + assert_tag :tag => 'a', :descendant => { :content => 'Cancel' }, :attributes => { :href => 'http://colivre.net/testinguser/' + @profile.home_page.slug }
524 end 524 end
525 525
526 should 'go back to public view when saving coming from there' do 526 should 'go back to public view when saving coming from there' do