Some contest pages translations
This commit is contained in:
@@ -12,7 +12,7 @@ RSpec.feature "Users", type: :feature do
|
||||
it "should not see a link to all users" do
|
||||
visit root_path
|
||||
|
||||
expect(page).not_to have_content("Users")
|
||||
expect(page).not_to have_content(I18n.t("nav.users"))
|
||||
end
|
||||
|
||||
it "should not be able to see the user list" do
|
||||
@@ -50,7 +50,7 @@ RSpec.feature "Users", type: :feature do
|
||||
it "should see a link to all users" do
|
||||
visit root_path
|
||||
|
||||
expect(page).to have_content("Users")
|
||||
expect(page).to have_content(I18n.t("nav.users"))
|
||||
end
|
||||
|
||||
it "should be able to see the user list" do
|
||||
|
Reference in New Issue
Block a user