From 9f8b8883cbb3d4938895214283b05a11db0090e1 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Wed, 27 Aug 2008 23:07:14 +0000 Subject: [PATCH] ActionItem591: fixing test --- test/functional/cms_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/cms_controller_test.rb b/test/functional/cms_controller_test.rb index c47e546..6e262e6 100644 --- a/test/functional/cms_controller_test.rb +++ b/test/functional/cms_controller_test.rb @@ -520,7 +520,7 @@ class CmsControllerTest < Test::Unit::TestCase @request.expects(:referer).returns('http://colivre.net/testinguser') get :edit, :profile => 'testinguser', :id => @profile.home_page.id assert_tag :tag => 'input', :attributes => { :type => 'hidden', :name => 'back_to', :value => 'public_view' } - assert_tag :tag => 'a', :descendant => { :content => 'Cancel' }, :attributes => { :href => 'http://colivre.net/testinguser/testingusers-home-page' } + assert_tag :tag => 'a', :descendant => { :content => 'Cancel' }, :attributes => { :href => 'http://colivre.net/testinguser/' + @profile.home_page.slug } end should 'go back to public view when saving coming from there' do -- libgit2 0.21.2