From 1ff80fe2eec0f999db839fd974c8a1b001838623 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 8 Apr 2015 11:47:49 +0700 Subject: [PATCH] Remove test that checks for TOS --- spec/features/user_sessions_spec.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/spec/features/user_sessions_spec.rb b/spec/features/user_sessions_spec.rb index f983204c5..097fd1ba6 100644 --- a/spec/features/user_sessions_spec.rb +++ b/spec/features/user_sessions_spec.rb @@ -11,7 +11,6 @@ fill_in :user_display_name, with: 'Rick' fill_in :user_password, with: 'password123' fill_in :user_email, with: 'm@il.com' - check :user_agree click_button 'Join OpenFarm' usr = User.find_by(email: 'm@il.com') expect(usr.display_name).to eq('Rick') @@ -21,16 +20,6 @@ expect(usr.confirmed?).to eq(false) end - it 'fails to register when user does not subscribe to tos' do - visit root_path - click_link 'register' - fill_in :user_display_name, with: 'Rick' - fill_in :user_password, with: 'password123' - fill_in :user_email, with: 'm@il.com' - click_button 'Join OpenFarm' - see 'Agree to the Terms of Service and Privacy Policy' - end - it 'logs out' do login_as user visit root_path @@ -146,7 +135,6 @@ def sign_up_procedure fill_in :user_display_name, with: 'Rick' fill_in :user_password, with: 'password123' fill_in :user_email, with: 'm@il.com' - check :user_agree click_button 'Join OpenFarm' usr = User.find_by(email: 'm@il.com')