aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authornamusyaka <namusyaka@gmail.com>2013-07-09 20:01:48 +0900
committernamusyaka <namusyaka@gmail.com>2013-07-09 20:01:48 +0900
commita8bd220768625637ef240049a71d82a60041755f (patch)
tree0bf051069aa85c65bc3b17a1b5072e8d7510f838 /activerecord/test/cases
parentf9fec4f46ba04f7c9a2d32941a1e386664b0145f (diff)
downloadrails-a8bd220768625637ef240049a71d82a60041755f.tar.gz
rails-a8bd220768625637ef240049a71d82a60041755f.tar.bz2
rails-a8bd220768625637ef240049a71d82a60041755f.zip
Fix: attribute_for_inspect truncate upto (51 => 50) characters.
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/attribute_methods_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb
index ee0150558d..170c4cd9cd 100644
--- a/activerecord/test/cases/attribute_methods_test.rb
+++ b/activerecord/test/cases/attribute_methods_test.rb
@@ -32,7 +32,7 @@ class AttributeMethodsTest < ActiveRecord::TestCase
t.title = "The First Topic Now Has A Title With\nNewlines And More Than 50 Characters"
assert_equal %("#{t.written_on.to_s(:db)}"), t.attribute_for_inspect(:written_on)
- assert_equal '"The First Topic Now Has A Title With\nNewlines And M..."', t.attribute_for_inspect(:title)
+ assert_equal '"The First Topic Now Has A Title With\nNewlines And ..."', t.attribute_for_inspect(:title)
end
def test_attribute_present