DEV: Use proper wording for contexts in specs

This commit is contained in:
Loïc Guitaut
2022-07-27 18:14:14 +02:00
committed by Loïc Guitaut
parent 02987e05d5
commit 3eaac56797
337 changed files with 2172 additions and 2723 deletions

View File

@ -29,7 +29,7 @@ RSpec.describe QunitController do
end
end
context "non-admin users on production" do
context "with non-admin users on production" do
before do
# We need to call sign_in before stubbing the method because SessionController#become
# checks for the current env when the file is loaded.
@ -51,7 +51,7 @@ RSpec.describe QunitController do
end
end
context "admin users" do
context "with admin users" do
before do
sign_in(Fabricate(:admin))
end