From 138725d00b5f2b0f3c187d24491b79c9a9f9a43a Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Thu, 17 Apr 2014 20:24:32 -0700 Subject: [PATCH] fix acceptance tests --- tests/acceptance_tests.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance_tests.rb b/tests/acceptance_tests.rb index 54582bf1..70f0ecf6 100644 --- a/tests/acceptance_tests.rb +++ b/tests/acceptance_tests.rb @@ -38,7 +38,7 @@ describe 'signup' do it 'succeeds with valid data' do fill_in_valid click_button 'Create Home Page' - page.must_have_content 'Your Website' + page.must_have_content 'My Website' assert_equal( true, File.exist?(File.join(Site::SITE_FILES_ROOT, @site[:username], 'index.html')) @@ -48,7 +48,7 @@ describe 'signup' do it 'fails to create for existing site' do fill_in_valid click_button 'Create Home Page' - page.must_have_content 'Your Website' + page.must_have_content 'My Website' Capybara.reset_sessions! visit_signup fill_in 'username', with: @site[:username] @@ -138,6 +138,6 @@ describe 'signin' do fill_in 'username', with: site[:username] fill_in 'password', with: site[:password] click_button 'Sign in' - page.must_have_content 'Your Website' + page.must_have_content 'My Website' end end \ No newline at end of file