From 1474cf2419f10bf143541a35aca78824b621ccd3 Mon Sep 17 00:00:00 2001 From: Kevin Robayna Date: Wed, 6 Mar 2024 12:06:53 +0000 Subject: [PATCH] fix rubocop --- .ruby-version | 2 +- spec/bucket_store/key_storage_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ruby-version b/.ruby-version index fd2a018..be94e6f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.1.0 +3.2.2 diff --git a/spec/bucket_store/key_storage_spec.rb b/spec/bucket_store/key_storage_spec.rb index 65a4a37..48816a4 100644 --- a/spec/bucket_store/key_storage_spec.rb +++ b/spec/bucket_store/key_storage_spec.rb @@ -120,7 +120,7 @@ def build_for(key) describe "#stream" do let(:stream) { build_for("inmemory://bucket/file1").stream } - it "will return an object" do + it "returns an object" do expect { stream }.to_not raise_error expect(stream).to_not be_nil end @@ -174,7 +174,7 @@ def build_for(key) end describe "#upload!" do - it "will upload from a file" do + it "uploads from a file" do expect(stream.upload!(file: StringIO.new("hello"))). to eq("inmemory://bucket/file1") end