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
Prev Previous commit
Next Next commit
Fix lint issues
  • Loading branch information
Gregory Igelmund committed Mar 7, 2018
commit 5a8eebbaa67d7b235872e4df496a252368ca457e
4 changes: 2 additions & 2 deletions test/integration/navigation_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class NavigationTest < ActionDispatch::IntegrationTest
fixtures :users

test "the truth" do
test 'failed access, sign in and redirect to protected resource' do
alice = users(:alice)

# Verify the user has no access to the /secret endpoint and
Expand All @@ -16,7 +16,7 @@ class NavigationTest < ActionDispatch::IntegrationTest
assert_equal 'Not worthy!', flash['error']
follow_redirect!
assert_equal 200, status
assert_equal "/", path
assert_equal '/', path

# Load login form
get '/users/sign_in'
Expand Down