mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 01:47:46 +08:00
DEV: Use proper wording for contexts in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
02987e05d5
commit
3eaac56797
@ -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
|
||||
|
Reference in New Issue
Block a user