Merge commit '1d46558e8d949860acc4f3a86516b9989bd74f79' into glitch-soc/merge-upstream

Conflicts:
- `spec/controllers/application_controller_spec.rb`:
  Upstream moved specs that were textually-adjacent to glitch-soc ones.
  Kept the glitch-soc ones.
This commit is contained in:
Claire
2026-03-09 18:14:15 +01:00
14 changed files with 604 additions and 244 deletions

View File

@@ -21,9 +21,13 @@ RSpec.describe CollectionItem do
let(:remote_collection) { Fabricate.build(:collection, local: false) }
it { is_expected.to validate_absence_of(:approval_uri) }
it { is_expected.to validate_presence_of(:uri) }
context 'when account is not present' do
subject { Fabricate.build(:collection_item, collection: remote_collection, account: nil) }
it { is_expected.to validate_presence_of(:approval_uri) }
end
end
context 'when account is not present' do