mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 05:41:15 +08:00
DEV: Make the first argument to the top-level describe a constant in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
8b8cbe7905
commit
00b3f0e2c4
@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
RSpec.describe "DistributedCache extensions" do
|
||||
let(:cache) { DistributedCache.new('mytest') }
|
||||
RSpec.describe DistributedCache do
|
||||
let(:cache) { described_class.new('mytest') }
|
||||
|
||||
it "can defer_get_set" do
|
||||
messages = MessageBus.track_publish("/distributed_hash") do
|
||||
|
Reference in New Issue
Block a user