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

@ -66,7 +66,7 @@ RSpec.describe DistributedMutex do
}.to raise_error(ThreadError)
end
context "readonly redis" do
describe "readonly redis" do
before do
Discourse.redis.slaveof "127.0.0.1", "65534"
end
@ -91,7 +91,7 @@ RSpec.describe DistributedMutex do
end
end
context "executions" do
describe "executions" do
it "should not allow critical sections to overlap" do
connections = 3.times.map { DiscourseRedis.new }