DEV: Make the first argument to the top-level describe a constant in specs

This commit is contained in:
Loïc Guitaut
2022-08-08 16:05:41 +02:00
committed by Loïc Guitaut
parent 8b8cbe7905
commit 00b3f0e2c4
6 changed files with 72 additions and 84 deletions

View File

@ -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