about summary refs log tree commit diff
path: root/spec/controllers/stream_entries_controller_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/stream_entries_controller_spec.rb')
-rw-r--r--spec/controllers/stream_entries_controller_spec.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/controllers/stream_entries_controller_spec.rb b/spec/controllers/stream_entries_controller_spec.rb
index eb7fdf9d7..46bbbe1f1 100644
--- a/spec/controllers/stream_entries_controller_spec.rb
+++ b/spec/controllers/stream_entries_controller_spec.rb
@@ -21,7 +21,7 @@ RSpec.describe StreamEntriesController, type: :controller do
 
         get route, params: { account_username: alice.username, id: status.stream_entry.id }
 
-        expect(response.headers['Link'].to_s).to eq "<http://test.host/users/alice/updates/#{status.stream_entry.id}.atom>; rel=\"alternate\"; type=\"application/atom+xml\", <https://cb6e6126.ngrok.io/users/alice/statuses/#{status.id}>; rel=\"alternate\"; type=\"application/activity+json\""
+        expect(response.headers['Link'].to_s).to eq "<https://cb6e6126.ngrok.io/users/alice/statuses/#{status.id}>; rel=\"alternate\"; type=\"application/activity+json\""
       end
     end
 
@@ -73,12 +73,6 @@ RSpec.describe StreamEntriesController, type: :controller do
 
       expect(response).to redirect_to(short_account_status_url(status.account, status))
     end
-
-    it 'returns http success with Atom' do
-      status = Fabricate(:status)
-      get :show, params: { account_username: status.account.username, id: status.stream_entry.id }, format: 'atom'
-      expect(response).to have_http_status(200)
-    end
   end
 
   describe 'GET #embed' do