-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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') | ||
|
@@ -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 | ||
|
@@ -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]') | ||
|