config/default.yml in ezcater_rubocop-0.57.0 vs config/default.yml in ezcater_rubocop-0.57.1.rc1
- old
+ new
@@ -22,9 +22,15 @@
Description: 'Enforce use of `mock_feature_flag` helpers instead of mocking `FeatureFlag.is_active?` directly.'
Enabled: true
Include:
- '**/*_spec.rb'
+Ezcater/RspecRequireHttpStatusMatcher:
+ Description: 'Use the HTTP status code matcher, like `expect(response).to have_http_status :bad_request`, rather than `expect(response.code).to eq 400`'
+ Enabled: true
+ Include:
+ - '**/*_spec.rb'
+
Ezcater/RequireGqlErrorHelpers:
Description: 'Use the helpers provided by `GQLErrors` instead of raising `GraphQL::ExecutionError` directly.'
Enabled: true
Ezcater/StyleDig: