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

committed by
Loïc Guitaut

parent
02987e05d5
commit
3eaac56797
@ -3,11 +3,11 @@
|
||||
require_relative 'shared_context_for_backup_restore'
|
||||
|
||||
RSpec.describe BackupRestore::SystemInterface do
|
||||
include_context "shared stuff"
|
||||
include_context "with shared stuff"
|
||||
|
||||
subject { BackupRestore::SystemInterface.new(logger) }
|
||||
|
||||
context "readonly mode" do
|
||||
describe "readonly mode" do
|
||||
after do
|
||||
Discourse::READONLY_KEYS.each { |key| Discourse.redis.del(key) }
|
||||
end
|
||||
@ -171,7 +171,7 @@ RSpec.describe BackupRestore::SystemInterface do
|
||||
end
|
||||
|
||||
describe "#flush_redis" do
|
||||
context "Sidekiq" do
|
||||
context "with Sidekiq" do
|
||||
after { Sidekiq.unpause! }
|
||||
|
||||
it "doesn't unpause Sidekiq" do
|
||||
|
Reference in New Issue
Block a user