diff options
| author | Peter Leitzen <pleitzen@gitlab.com> | 2019-07-14 10:36:07 +0200 |
|---|---|---|
| committer | Peter Leitzen <pleitzen@gitlab.com> | 2019-07-14 10:40:34 +0200 |
| commit | de2dddfc6e071a065da9cb680dbe9cbd04b4fbd4 (patch) | |
| tree | 8962ce20a9994e84ffd596797930b654b2213c3e | |
| parent | ba8469c84cfb09f7430640d7b50b4a37366aa2f5 (diff) | |
| download | gitlab-ce-pl-json_response-ce.tar.gz | |
Avoid enabling `json_response` for every specpl-json_response-ce
| -rw-r--r-- | spec/support/json_response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/json_response.rb b/spec/support/json_response.rb index 210b0e6d867..43d8ab73dde 100644 --- a/spec/support/json_response.rb +++ b/spec/support/json_response.rb @@ -1,5 +1,5 @@ RSpec.configure do |config| - config.include_context 'JSON response' + config.include_context 'JSON response', type: :controller config.include_context 'JSON response', type: :request config.include_context 'JSON response', :api end |
