aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/serializeration/json_serialization_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/cases/serializeration/json_serialization_test.rb')
-rw-r--r--activemodel/test/cases/serializeration/json_serialization_test.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/activemodel/test/cases/serializeration/json_serialization_test.rb b/activemodel/test/cases/serializeration/json_serialization_test.rb
index 1ac991a8f1..91e123e655 100644
--- a/activemodel/test/cases/serializeration/json_serialization_test.rb
+++ b/activemodel/test/cases/serializeration/json_serialization_test.rb
@@ -105,15 +105,15 @@ class JsonSerializationTest < ActiveModel::TestCase
test "should return OrderedHash for errors" do
car = Automobile.new
-
+
# run the validation
- car.valid?
-
+ car.valid?
+
hash = ActiveSupport::OrderedHash.new
hash[:make] = "can't be blank"
hash[:model] = "is too short (minimum is 2 characters)"
assert_equal hash.to_json, car.errors.to_json
end
-
-
+
+
end