diff options
Diffstat (limited to 'spec/support/shared_contexts/json_response_shared_context.rb')
-rw-r--r-- | spec/support/shared_contexts/json_response_shared_context.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/shared_contexts/json_response_shared_context.rb b/spec/support/shared_contexts/json_response_shared_context.rb index df5fc288089..bd37c97ed35 100644 --- a/spec/support/shared_contexts/json_response_shared_context.rb +++ b/spec/support/shared_contexts/json_response_shared_context.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + shared_context 'JSON response' do let(:json_response) { JSON.parse(response.body) } end |