mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Use proper wording for contexts in specs
This commit is contained in:
committed by
Loïc Guitaut
parent
02987e05d5
commit
3eaac56797
@@ -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 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user