diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-17 07:45:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 21:45:27 +0900 |
commit | 68b1071f8634de1c15877215df73a7c006aa6222 (patch) | |
tree | 7ee3dfea107acc6d9f957d210a1864da2351712e /spec/controllers/activitypub/collections_controller_spec.rb | |
parent | 936204b9eae85829c368e5877e4166faa5861fab (diff) |
Autofix Rubocop RSpec/BeNil (#23653)
Diffstat (limited to 'spec/controllers/activitypub/collections_controller_spec.rb')
-rw-r--r-- | spec/controllers/activitypub/collections_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/activitypub/collections_controller_spec.rb b/spec/controllers/activitypub/collections_controller_spec.rb index f78d9abbf..4e35938db 100644 --- a/spec/controllers/activitypub/collections_controller_spec.rb +++ b/spec/controllers/activitypub/collections_controller_spec.rb @@ -10,7 +10,7 @@ RSpec.describe ActivityPub::CollectionsController, type: :controller do shared_examples 'cacheable response' do it 'does not set cookies' do expect(response.cookies).to be_empty - expect(response.headers['Set-Cookies']).to be nil + expect(response.headers['Set-Cookies']).to be_nil end it 'does not set sessions' do |