active_model_serializers/test/action_controller/json_api
Noah Silas 94db09b3f6 Fix RuboCop 0.40 linter errors (#1722)
These errors are breaking the build, which seems to use RuboCop 0.40 [1]
despite the Gemfile.lock pinning rubocop to 0.38.

New lints that I am updating the code style to reflect:

- Style/EmptyCaseCondition: Do not use empty case condition, instead use
  an if expression.

- Style/MultilineArrayBraceLayout: Closing array brace must be on the
  same line as the last array element when opening brace is on the same
  line as the first array element.

- Style/MultilineHashBraceLayout: Closing hash brace must be on the same
  line as the last hash element when opening brace is on the same line
  as the first hash element.

- Style/MultilineMethodCallBraceLayout: Closing method call brace must
  be on the line after the last argument when opening brace is on a
  separate line from the first argument.

[1] https://github.com/bbatsov/rubocop/releases/tag/v0.40.0
2016-05-26 12:58:05 -04:00
..
deserialization_test.rb Fix deserialization of nil relationships 2016-04-01 16:06:35 -04:00
errors_test.rb Fix RuboCop 0.40 linter errors (#1722) 2016-05-26 12:58:05 -04:00
linked_test.rb Improve jsonapi mime type registration for Rails 5 (#1747) 2016-05-26 10:55:12 -06:00
pagination_test.rb Rubocop autocorrect 2016-03-08 22:32:34 +01:00
transform_test.rb Restrict serializable_hash to accepted options, only for tests 2016-04-13 00:40:57 -05:00