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