Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store routing context when mounting engine, Fix i18n path #14

Merged
merged 10 commits into from
Mar 8, 2018
Merged
Prev Previous commit
Next Next commit
Revert locale change and adjust integration test expectation
  • Loading branch information
Gregory Igelmund committed Mar 8, 2018
commit 6283b61df666f7e60edb6423280ea449017ac129
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ en:
sessions:
create:
session_expired: 'Your session has expired, please sign in again.'
email_sent_if_record_found: "If we found you in the system, we have sent you an email."
email_sent_if_record_found: "If we found you in the system, we've sent you an email."
new:
submit: 'Send magic link'
mailer:
Expand Down
4 changes: 1 addition & 3 deletions test/integration/navigation_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ class NavigationTest < ActionDispatch::IntegrationTest
},
headers: { 'HTTP_USER_AGENT' => 'Mosaic v.1' }
assert_equal 200, status
assert response.body.include?(
'If we found you in the system, we have sent you an email.'
)
assert response.body.include?('If we found you in the system')

# Expect session created for alice
session = Passwordless::Session.find_by! authenticatable: alice
Expand Down