about summary refs log tree commit diff
path: root/spec/controllers/statuses_controller_spec.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-03-08 22:40:21 +0100
committerGitHub <noreply@github.com>2022-03-08 22:40:21 +0100
commit02133866e6915e37431298b396e1aded1e4c44c5 (patch)
tree4ec43c5d1269ef7d5a3816a4d000bb7129bf81bd /spec/controllers/statuses_controller_spec.rb
parentf03148f441d8dfc1856451c4faa00b5e26b6e199 (diff)
parent481f7c8c3850a5d38e92222ab14e5229c49c2812 (diff)
Merge pull request #1713 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'spec/controllers/statuses_controller_spec.rb')
-rw-r--r--spec/controllers/statuses_controller_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/statuses_controller_spec.rb b/spec/controllers/statuses_controller_spec.rb
index 9986efa51..05fae67fa 100644
--- a/spec/controllers/statuses_controller_spec.rb
+++ b/spec/controllers/statuses_controller_spec.rb
@@ -5,7 +5,7 @@ require 'rails_helper'
 describe StatusesController do
   render_views
 
-  shared_examples 'cachable response' 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
@@ -108,7 +108,7 @@ describe StatusesController do
           expect(response.headers['Vary']).to eq 'Accept'
         end
 
-        it_behaves_like 'cachable response'
+        it_behaves_like 'cacheable response'
 
         it 'returns Content-Type header' do
           expect(response.headers['Content-Type']).to include 'application/activity+json'
@@ -496,7 +496,7 @@ describe StatusesController do
             expect(response.headers['Vary']).to eq 'Accept'
           end
 
-          it_behaves_like 'cachable response'
+          it_behaves_like 'cacheable response'
 
           it 'returns Content-Type header' do
             expect(response.headers['Content-Type']).to include 'application/activity+json'