Namespace languages controller to admin

This commit is contained in:
maddiebaka
2023-10-25 16:25:29 -04:00
parent 206c4da31f
commit c2891a66f8
17 changed files with 43 additions and 41 deletions

View File

@@ -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