aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorRajarshi Das <rajarshid@cybage.com>2013-09-05 14:21:57 +0530
committerRajarshi Das <rajarshid@cybage.com>2013-09-05 14:21:57 +0530
commite21a18bed0b1246ca660c1ffe4d8be8c7fd1b213 (patch)
tree16bd77a66ceac47b8a012930a72a11c0ac116650 /activemodel
parentdfd7454683c0222bdb741753b76e8d68f5e73aef (diff)
downloadrails-e21a18bed0b1246ca660c1ffe4d8be8c7fd1b213.tar.gz
rails-e21a18bed0b1246ca660c1ffe4d8be8c7fd1b213.tar.bz2
rails-e21a18bed0b1246ca660c1ffe4d8be8c7fd1b213.zip
fix actionview and activemodel test cases typos
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/test/cases/serializers/json_serialization_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/serializers/json_serialization_test.rb b/activemodel/test/cases/serializers/json_serialization_test.rb
index e4f5e61e91..bc185c737f 100644
--- a/activemodel/test/cases/serializers/json_serialization_test.rb
+++ b/activemodel/test/cases/serializers/json_serialization_test.rb
@@ -198,7 +198,7 @@ class JsonSerializationTest < ActiveModel::TestCase
assert_no_match %r{"preferences":}, json
end
- test "custom as_json options should be extendible" do
+ test "custom as_json options should be extensible" do
def @contact.as_json(options = {}); super(options.merge(only: [:name])); end
json = @contact.to_json