Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This adds namespace lookup to serializer_for #1968

Merged
Prev Previous commit
Next Next commit
address rubocop issue
  • Loading branch information
NullVoxPopuli committed Nov 8, 2016
commit 3c98d489cd19f87619c707d5e2ba6651a3d97989
2 changes: 0 additions & 2 deletions test/serializers/serializer_for_with_namespace_test.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
require 'test_helper'



module ActiveModel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. needs controller test for implicit lookup as well as option passing, which is really covered below, here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor Author

@NullVoxPopuli NullVoxPopuli Nov 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests added

class Serializer
class SerializerForWithNamespaceTest < ActiveSupport::TestCase
Expand Down