Skip to content

Commit

Permalink
Remove completed TODO note in tags request spec (mastodon#32108)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjankowski authored Sep 27, 2024
1 parent e02e88b commit cdd7526
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions spec/requests/tags_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,6 @@
context 'when tag exists' do
let(:tag) { Fabricate :tag }

context 'with HTML format' do
# TODO: Update the have_cacheable_headers matcher to operate on capybara sessions
# Remove this example, rely on system spec (which should use matcher)
before { get tag_path(tag) }

it 'returns http success' do
expect(response)
.to have_http_status(200)
.and have_cacheable_headers.with_vary('Accept, Accept-Language, Cookie')
end
end

context 'with JSON format' do
before { get tag_path(tag, format: :json) }

Expand Down

0 comments on commit cdd7526

Please sign in to comment.