diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-10-26 21:45:40 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-10-26 21:45:40 -0500 |
commit | 070329596f93544cb667a32dbf30be4845038ffc (patch) | |
tree | 0f1c09899f9929cb6108f7dd8b4a35889d9542b6 /activemodel/test/cases/serializers | |
parent | b79444053c6e000180c3b7787140bdb3cdafa183 (diff) | |
download | rails-070329596f93544cb667a32dbf30be4845038ffc.tar.gz rails-070329596f93544cb667a32dbf30be4845038ffc.tar.bz2 rails-070329596f93544cb667a32dbf30be4845038ffc.zip |
AM::Serializers::Xml depends on AM::Naming
Diffstat (limited to 'activemodel/test/cases/serializers')
-rw-r--r-- | activemodel/test/cases/serializers/json_serialization_test.rb | 1 | ||||
-rwxr-xr-x | activemodel/test/cases/serializers/xml_serialization_test.rb | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/activemodel/test/cases/serializers/json_serialization_test.rb b/activemodel/test/cases/serializers/json_serialization_test.rb index e2690f1827..bb5be8cdeb 100644 --- a/activemodel/test/cases/serializers/json_serialization_test.rb +++ b/activemodel/test/cases/serializers/json_serialization_test.rb @@ -4,7 +4,6 @@ require 'models/automobile' require 'active_support/core_ext/object/instance_variables' class Contact - extend ActiveModel::Naming include ActiveModel::Serializers::JSON include ActiveModel::Validations diff --git a/activemodel/test/cases/serializers/xml_serialization_test.rb b/activemodel/test/cases/serializers/xml_serialization_test.rb index e2bb0dda0b..90ddf8ff0c 100755 --- a/activemodel/test/cases/serializers/xml_serialization_test.rb +++ b/activemodel/test/cases/serializers/xml_serialization_test.rb @@ -4,7 +4,6 @@ require 'active_support/core_ext/object/instance_variables' require 'ostruct' class Contact - extend ActiveModel::Naming include ActiveModel::Serializers::Xml attr_accessor :address, :friends @@ -25,7 +24,6 @@ class Customer < Struct.new(:name) end class Address - extend ActiveModel::Naming include ActiveModel::Serializers::Xml attr_accessor :street, :city, :state, :zip, :apt_number |