diff options
Diffstat (limited to 'spec/requests/link_headers_spec.rb')
-rw-r--r-- | spec/requests/link_headers_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/requests/link_headers_spec.rb b/spec/requests/link_headers_spec.rb index 3dc408d92..bcd3d1da1 100644 --- a/spec/requests/link_headers_spec.rb +++ b/spec/requests/link_headers_spec.rb @@ -17,13 +17,6 @@ describe 'Link headers' do expect(link_header.attr_pairs.first).to eq %w(rel lrdd) end - it 'contains atom url in link header' do - link_header = link_header_with_type('application/atom+xml') - - expect(link_header.href).to eq 'http://www.example.com/users/test.atom' - expect(link_header.attr_pairs.first).to eq %w(rel alternate) - end - def link_header_with_type(type) response.headers['Link'].links.find do |link| link.attr_pairs.any? { |pair| pair == ['type', type] } |