Some updates to translation engine, added dotenv but have not yet set it up.

This commit is contained in:
Godwin
2014-04-29 21:02:02 -06:00
parent 3759910993
commit cc948937bc
35 changed files with 707 additions and 190 deletions
+6 -6
View File
@@ -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
+4 -4
View File
@@ -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