tests for namespaced controlleler

This commit is contained in:
Theodore Konukhov
2014-08-26 18:07:31 +02:00
parent 26c0847563
commit dde1492934
4 changed files with 63 additions and 1 deletions

View File

@@ -73,3 +73,12 @@ end
class WebLogLowerCamelSerializer < WebLogSerializer
format_keys :lower_camel
end
class ShortUserSerializer < ActiveModel::Serializer
attributes :name
end
module TestNamespace
class ProfileSerializer < ::ProfileSerializer; end
class UserSerializer < ::UserSerializer; end
end