about summary refs log tree commit diff
path: root/spec/controllers/settings/profiles_controller_spec.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-04-03 17:21:33 +0200
committerGitHub <noreply@github.com>2023-04-03 17:21:33 +0200
commit8192b0da7cd1fac38a68eab6746fc7ec74328a77 (patch)
tree686c30ed5f6c4cfe5f6b4d84e46ff19f7baa6949 /spec/controllers/settings/profiles_controller_spec.rb
parentcbdb25ab0343603165fc89fd28b07c9ca0f2ae6d (diff)
parent7b15f4006adb5f8f04d83174532c30eeb78757b0 (diff)
Merge pull request #2155 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'spec/controllers/settings/profiles_controller_spec.rb')
-rw-r--r--spec/controllers/settings/profiles_controller_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/controllers/settings/profiles_controller_spec.rb b/spec/controllers/settings/profiles_controller_spec.rb
index e45596b1a..563e60271 100644
--- a/spec/controllers/settings/profiles_controller_spec.rb
+++ b/spec/controllers/settings/profiles_controller_spec.rb
@@ -44,12 +44,4 @@ RSpec.describe Settings::ProfilesController, type: :controller do
       expect(ActivityPub::UpdateDistributionWorker).to have_received(:perform_async).with(account.id)
     end
   end
-
-  describe 'PUT #update with oversized image' do
-    it 'gives the user an error message' do
-      allow(ActivityPub::UpdateDistributionWorker).to receive(:perform_async)
-      put :update, params: { account: { avatar: fixture_file_upload('4096x4097.png', 'image/png') } }
-      expect(response.body).to include('images are not supported')
-    end
-  end
 end