From 833030cff8449670babd25e26f6fda50a9f09e5c Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Tue, 25 Mar 2025 15:04:01 -0500 Subject: [PATCH] fix test for signup --- tests/acceptance/signup_tests.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/signup_tests.rb b/tests/acceptance/signup_tests.rb index cff45d75..c15a4bcd 100644 --- a/tests/acceptance/signup_tests.rb +++ b/tests/acceptance/signup_tests.rb @@ -45,12 +45,12 @@ describe 'signup' do click_signup_button site_created? click_link 'Continue' + _(current_path).must_equal "/site/#{@site[:username]}/confirm_email" _(page).must_have_content /almost ready!/ fill_in 'token', with: Site[username: @site[:username]].email_confirmation_token click_button 'Confirm Email' - _(current_path).must_equal '/tutorial' _(page).must_have_content /Let's Get Started/ - + _(current_path).must_equal '/tutorial' index_file_path = File.join Site::SITE_FILES_ROOT, Site.sharding_dir(@site[:username]), @site[:username], 'index.html' _(File.exist?(index_file_path)).must_equal true