Skip to content

Commit

Permalink
Remove test that checks for TOS
Browse files Browse the repository at this point in the history
  • Loading branch information
simonv3 committed Apr 8, 2015
1 parent 9fcb8f1 commit 1ff80fe
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions spec/features/user_sessions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
fill_in :user_display_name, with: 'Rick'
fill_in :user_password, with: 'password123'
fill_in :user_email, with: '[email protected]'
check :user_agree
click_button 'Join OpenFarm'
usr = User.find_by(email: '[email protected]')
expect(usr.display_name).to eq('Rick')
Expand All @@ -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: '[email protected]'
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
Expand Down Expand Up @@ -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: '[email protected]'
check :user_agree

click_button 'Join OpenFarm'
usr = User.find_by(email: '[email protected]')
Expand Down

0 comments on commit 1ff80fe

Please sign in to comment.