From b1a5f5ed30968985540a9160328702263f1dbd5b Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Thu, 24 Apr 2008 21:22:32 +0000 Subject: [PATCH] ActionItem280: back with all tests passing --- test/integration/login_to_the_application_test.rb | 4 ++-- test/integration/user_registers_at_the_application_test.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/login_to_the_application_test.rb b/test/integration/login_to_the_application_test.rb index 2ea21ad..ac2d475 100644 --- a/test/integration/login_to_the_application_test.rb +++ b/test/integration/login_to_the_application_test.rb @@ -6,14 +6,14 @@ class LoginToTheApplicationTest < ActionController::IntegrationTest def test_anonymous_user_logins_to_application get '/' assert_tag :tag => 'a', :attributes => { :href => '/account/login_popup' } - assert_no_tag :tag => 'a', :attributes => { :href => '/account/logout_popup' } + assert_no_tag :tag => 'a', :attributes => { :href => '/account/logout' } get '/account/login_popup' assert_response :success login('ze', 'test') assert_no_tag :tag => 'a', :attributes => { :href => '/account/login_popup' } - assert_tag :tag => 'a', :attributes => { :href => '/account/logout_popup' } + assert_tag :tag => 'a', :attributes => { :href => '/account/logout' } end diff --git a/test/integration/user_registers_at_the_application_test.rb b/test/integration/user_registers_at_the_application_test.rb index 24a8ddb..9f925c3 100644 --- a/test/integration/user_registers_at_the_application_test.rb +++ b/test/integration/user_registers_at_the_application_test.rb @@ -20,7 +20,7 @@ class UserRegistersAtTheApplicationTest < ActionController::IntegrationTest # user is logged in right after the registration follow_redirect! assert_no_tag :tag => 'a', :attributes => { :href => '/account/login_popup' } - assert_tag :tag => 'a', :attributes => { :href => '/account/logout_popup' } + assert_tag :tag => 'a', :attributes => { :href => '/account/logout' } end def test_trying_an_existing_login_name -- libgit2 0.21.2