Bundle update
This commit is contained in:
parent
b49bfb0d8c
commit
8a5c130875
13 changed files with 62 additions and 61 deletions
|
|
@ -3,7 +3,7 @@ module SessionHelper
|
|||
|
||||
def login(user=nil, password=nil)
|
||||
visit login_path
|
||||
user = FactoryGirl.create :user if user.nil?
|
||||
user = FactoryBot.create :user if user.nil?
|
||||
if user.instance_of? ::User
|
||||
nick, password = user.nick, user.password
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue