diff --git a/tests/acceptance_tests.rb b/tests/acceptance_tests.rb index 70f0ecf6..9c5922f3 100644 --- a/tests/acceptance_tests.rb +++ b/tests/acceptance_tests.rb @@ -12,7 +12,7 @@ describe 'index' do it 'goes to signup' do visit '/' click_button 'Create My Website' - page.must_have_content('Create a New Home Page') + page.must_have_content('Create a New Website') end end @@ -109,9 +109,9 @@ describe 'signin' do it 'fails for invalid login' do visit '/' click_link 'Sign In' - page.must_have_content 'Welcome back' + page.must_have_content 'Welcome Back' fill_in_valid - click_button 'Sign in' + click_button 'Sign In' page.must_have_content 'Invalid login' end @@ -121,7 +121,7 @@ describe 'signin' do auth = {username: SecureRandom.hex, password: Faker::Internet.password} fill_in 'username', with: auth[:username] fill_in 'password', with: auth[:password] - click_button 'Sign in' + click_button 'Sign In' page.must_have_content 'Invalid login' end @@ -137,7 +137,7 @@ describe 'signin' do click_link 'Sign In' fill_in 'username', with: site[:username] fill_in 'password', with: site[:password] - click_button 'Sign in' + click_button 'Sign In' page.must_have_content 'My Website' end end \ No newline at end of file diff --git a/views/new.erb b/views/new.erb index c7912b3e..8a3ba8a0 100644 --- a/views/new.erb +++ b/views/new.erb @@ -5,8 +5,8 @@
-

Create a New Web Page

-

Your free web page is only a few minutes away!

+

Create a New Website

+

Your free web site is only a few minutes away!