From 592a49456da9b8eecb7515538935d2f0474880d9 Mon Sep 17 00:00:00 2001 From: russointroitoa Date: Sun, 21 Apr 2024 13:51:52 +0200 Subject: [PATCH] Fix indentation --- spec/modules/redis_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/modules/redis_spec.rb b/spec/modules/redis_spec.rb index 2c0204a..a0569fd 100644 --- a/spec/modules/redis_spec.rb +++ b/spec/modules/redis_spec.rb @@ -45,7 +45,8 @@ describe "#pluck_script" do context "when Redis server version is" do it ">= 6.2.0, selects the corresponding pluck script" do - allow_any_instance_of(described_class).to receive(:server_version) + allow_any_instance_of(described_class) + .to receive(:server_version) .and_return("6.2.0") expect(redis_service.send(:pluck_script)).to eq( described_class::PLUCK_SCRIPT_GTE_6_2_0 @@ -53,7 +54,8 @@ end it "< 6.2.0, selects the corresponding pluck script" do - allow_any_instance_of(described_class).to receive(:server_version) + allow_any_instance_of(described_class) + .to receive(:server_version) .and_return("6.0.0") expect(redis_service.send(:pluck_script)).to eq( described_class::PLUCK_SCRIPT_LT_6_2_0