Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit b98cbdf

Browse files
committed
Address RuboCop warnings
1 parent 62988c0 commit b98cbdf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

spec/lib/link_header_parser/link_header_inspect_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
subject(:link_header) { described_class.new('</>; rel="home"', base: 'https://example.com') }
33

44
it 'returns a String' do
5-
expect(link_header.inspect).to match(/^#<LinkHeaderParser::LinkHeader:0x[a-f0-9]+ target_uri: \".*\", relation_types: \[.*\]>$/)
5+
expect(link_header.inspect).to match(/^#<LinkHeaderParser::LinkHeader:0x[a-f0-9]+ target_uri: ".*", relation_types: \[.*\]>$/)
66
end
77
end

spec/lib/link_header_parser/link_header_parameter_inspect_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
subject(:link_parameter) { described_class.new('rel="home"') }
33

44
it 'returns a String' do
5-
expect(link_parameter.inspect).to match(/^#<LinkHeaderParser::LinkHeaderParameter:0x[a-f0-9]+ name: \".*\", value: \".*\">$/)
5+
expect(link_parameter.inspect).to match(/^#<LinkHeaderParser::LinkHeaderParameter:0x[a-f0-9]+ name: ".*", value: ".*">$/)
66
end
77
end

0 commit comments

Comments
 (0)