aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2016-11-13 15:59:13 +0000
committerAndrew White <andrew.white@unboxed.co>2016-11-13 15:59:13 +0000
commit89071400b432a564b2d98b86b5520c26a15b8f23 (patch)
tree35ed8af82b0f08ae9342e25081a49dea7f0f1abd /activesupport
parent60d82fa14105e63e2aac4ecf15afc9aaf732f3c2 (diff)
downloadrails-89071400b432a564b2d98b86b5520c26a15b8f23.tar.gz
rails-89071400b432a564b2d98b86b5520c26a15b8f23.tar.bz2
rails-89071400b432a564b2d98b86b5520c26a15b8f23.zip
Fix typo in constant reference
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/json/encoding_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/json/encoding_test.rb b/activesupport/test/json/encoding_test.rb
index 7d6ab585ef..fa518104c2 100644
--- a/activesupport/test/json/encoding_test.rb
+++ b/activesupport/test/json/encoding_test.rb
@@ -444,7 +444,7 @@ EXPECTED
class NaNNumber
def as_json(options = nil)
- { "number" => Float:NAN }
+ { "number" => Float::NAN }
end
end