Bundle update

This commit is contained in:
wvengen 2017-10-27 23:21:31 +02:00
parent b49bfb0d8c
commit 8a5c130875
13 changed files with 62 additions and 61 deletions

View file

@ -1,4 +1,4 @@
RSpec.configure do |config|
# load FactoryGirl shortcuts create(), etc.
config.include FactoryGirl::Syntax::Methods
# load FactoryBot shortcuts create(), etc.
config.include FactoryBot::Syntax::Methods
end

View file

@ -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