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


git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@467 
7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
tsaleh (author)
Mon Apr 21 12:45:05 -0700 2008
commit  a277775e97ea547e3983f1c5dc00110e88d6613b
tree    9df903b64db1253767a7d4822b527bb8563f7ffd
parent  551f666c0f72e3358671977e71ac7b71b45c92f6
...
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.