public
Rubygem
Description: Makes tests easy on the fingers and the eyes
Homepage: http://www.thoughtbot.com/projects/shoulda
Clone URL: git://github.com/thoughtbot/shoulda.git
cleaned up the failure message from asser_save
tsaleh (author)
Mon Apr 21 11:38:28 -0700 2008
commit  ee9bdbc00ef2a0c311c1571d947c21f79cdec92b
tree    9df903b64db1253767a7d4822b527bb8563f7ffd
parent  82306926f5bf2cb51550275ad5b7c9205a86d5a2
...
96
97
98
99
 
100
101
102
...
96
97
98
 
99
100
101
102
0
@@ -96,7 +96,7 @@ module ThoughtBot # :nodoc:
0
       end
0
 
0
       def pretty_error_messages(obj)
0
- obj.errors.map { |a, m| "#{m} (#{obj.send(a).inspect})" }
0
+ obj.errors.map { |a, m| "#{a} #{m} (#{obj.send(a).inspect})" }
0
       end
0
       
0
     end

Comments

    No one has commented yet.