mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-06-03 10:11:04 +00:00
Purged git history and removed sensitive information.
This commit is contained in:
commit
6bcc8dc76b
862 changed files with 25312 additions and 0 deletions
10
spec/support/features/session_helpers.rb
Normal file
10
spec/support/features/session_helpers.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
module Features
|
||||
module SessionHelpers
|
||||
def sign_in
|
||||
visit root_path
|
||||
user = create(:user)
|
||||
fill_form(:user, { email: user.email, password: user.raw_password })
|
||||
click_button '»'
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue