Some updates to translation engine, added dotenv but have not yet set it up.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
module AuthenticationForFeatureRequest
|
||||
def login user, password = 'login'
|
||||
user.update_attribute :password, password
|
||||
def login user, password = 'login'
|
||||
user.update_attribute :password, password
|
||||
|
||||
page.driver.post sessions_url, {email: user.email, password: password}
|
||||
visit root_url
|
||||
end
|
||||
end
|
||||
page.driver.post sessions_url, {email: user.email, password: password}
|
||||
visit root_url
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
RSpec.configure do |config|
|
||||
config.include Delorean
|
||||
config.include Delorean
|
||||
|
||||
config.before(:each) do
|
||||
back_to_the_present
|
||||
end
|
||||
config.before(:each) do
|
||||
back_to_the_present
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user