active_model_serializers/test
Yohan Robert 3cbc0541c1 Fix bug displaying nil for relationship link href
When using the relationship link with a block, calling "meta" without "href", e.g.
has_one :bio do
  link :related do
    meta id: 1
  end
end

results in in a nil "href", e.g.
{ links: { posts: { related: { href: nil, meta: { id: 1 } }  } } }.
According to JSONAPI, we should be able to use meta without href
(http://jsonapi.org/format/#document-links).
2016-02-15 09:26:53 +01:00
..
action_controller Update top-level link with PR #1247 2016-02-03 10:16:22 -02:00
active_model_serializers Replace load hook :active_model_serializers with :action_controller 2016-01-15 01:58:14 -06:00
adapter Fix bug displaying nil for relationship link href 2016-02-15 09:26:53 +01:00
fixtures Remove outdated regression test 2016-01-13 21:47:08 -06:00
generators Only load generators when needed 2016-01-15 01:52:27 -06:00
include_tree Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
serializers Merge branch 'LcpMarvel-support_read_multi' 2016-02-11 00:48:48 -06:00
support Update SimpleCov; remove compatibility patch 2016-02-09 20:59:31 -06:00
active_record_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
adapter_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
array_serializer_test.rb Tidy up the tests 2016-01-07 11:21:19 -08:00
collection_serializer_test.rb Don't pluralize the CollectionSerializer#root for #json_key 2016-01-12 09:32:43 -08:00
grape_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
lint_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
logger_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
poro_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
serializable_resource_test.rb Fixed a documentation error regarding adapter key constant, added tests 2016-02-08 15:27:56 +05:30
test_helper.rb use action_controller configuration options in initializers 2016-01-15 01:58:14 -06:00