active_model_serializers/test/adapter/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
..
belongs_to_test.rb Rubocop autocorrect 2016-03-08 22:32:34 +01:00
collection_test.rb Fix RuboCop 0.40 linter errors (#1722) 2016-05-26 12:58:05 -04:00
errors_test.rb Fix RuboCop 0.40 linter errors (#1722) 2016-05-26 12:58:05 -04:00
fields_test.rb Moved the adapter and adapter folder to active_model_serializers folder and changed the module namespace 2016-02-23 21:49:58 -06:00
has_many_embed_ids_test.rb Moved the adapter and adapter folder to active_model_serializers folder and changed the module namespace 2016-02-23 21:49:58 -06:00
has_many_explicit_serializer_test.rb Moved the adapter and adapter folder to active_model_serializers folder and changed the module namespace 2016-02-23 21:49:58 -06:00
has_many_test.rb Fix tests to comply with the JSON API spec. 2016-04-20 03:08:54 +02:00
has_one_test.rb Fix tests to comply with the JSON API spec. 2016-04-20 03:08:54 +02:00
json_api_test.rb Moved the adapter and adapter folder to active_model_serializers folder and changed the module namespace 2016-02-23 21:49:58 -06:00
linked_test.rb Fix RuboCop 0.40 linter errors (#1722) 2016-05-26 12:58:05 -04:00
links_test.rb Fix RuboCop 0.40 linter errors (#1722) 2016-05-26 12:58:05 -04:00
pagination_links_test.rb Fix RuboCop 0.40 linter errors (#1722) 2016-05-26 12:58:05 -04:00
parse_test.rb Moved the adapter and adapter folder to active_model_serializers folder and changed the module namespace 2016-02-23 21:49:58 -06:00
relationship_test.rb Apply key transforms to keys referenced in values 2016-04-04 10:16:04 -06:00
relationships_test.rb Prevent loading association when include_data is set to false (#1710) 2016-05-24 20:46:22 -04:00
resource_identifier_test.rb Apply key transforms to keys referenced in values 2016-04-04 10:16:04 -06:00
resource_meta_test.rb Apply key transforms to keys referenced in values 2016-04-04 10:16:04 -06:00
toplevel_jsonapi_test.rb Moved the adapter and adapter folder to active_model_serializers folder and changed the module namespace 2016-02-23 21:49:58 -06:00
transform_test.rb Fix RuboCop 0.40 linter errors (#1722) 2016-05-26 12:58:05 -04:00
type_test.rb Add symbol support for ActiveModel::Serializer.type method 2016-02-19 17:05:13 +01:00