From 6710cd59ecc2e420f734a2c41194fbc4bd671a08 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 9 Oct 2024 12:35:10 -0700 Subject: [PATCH] Modification of metadata filenames expectations. --- spec/metadata_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/metadata_spec.rb b/spec/metadata_spec.rb index 15d7cbc..65b8924 100644 --- a/spec/metadata_spec.rb +++ b/spec/metadata_spec.rb @@ -818,7 +818,9 @@ subject.validate expect(logger.to_s).to be_empty end - its(:filenames) {is_expected.to include("file:/#{filename.sub(/^\//, '')}")} + it "has expected filenames" do + expect(Array(subject.filenames).map(&:to_s)).to include("file:/#{filename.sub(/^\//, '')}") + end end end end