Namespace languages controller to admin
This commit is contained in:
@@ -30,7 +30,7 @@ RSpec.describe "Root path", type: :request do
|
||||
it "should have the 'Languages' link" do
|
||||
sign_in FactoryBot.create(:user)
|
||||
get root_path
|
||||
expect(response.body).to have_selector(%(a[href="#{languages_path}"]))
|
||||
expect(response.body).to have_selector(%(a[href="#{admin_languages_path}"]))
|
||||
end
|
||||
|
||||
it "should welcome user by username" do
|
||||
|
Reference in New Issue
Block a user