public
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
Search Repo:
small change to improve rdocs
tsaleh (author)
Mon Apr 28 10:15:57 -0700 2008
commit  395c8445ee1db9bc47cf2d646da7ac87a7dd4d11
tree    43f90655e03a4e2d843aee2f6a9d1f4018af350a
parent  28d9140a7ea45f9a305b251a544ead425fcd58e4
...
1
2
 
...
1
2
3
0
@@ -1,3 +1,4 @@
0
 test/rails_root/log/*.log
0
 test/rails_root/vendor/plugins/shoulda
0
+doc
...
106
107
108
109
 
110
111
112
...
106
107
108
 
109
110
111
112
0
@@ -106,7 +106,7 @@
0
         emails = ActionMailer::Base.deliveries
0
         assert !emails.empty?, "No emails were sent"
0
         if block_given?
0
- matching_emails = emails.select {|e| yield e }
0
+ matching_emails = emails.select {|email| yield email }
0
           assert !matching_emails.empty?, "None of the emails matched."
0
         end
0
       end

Comments

    No one has commented yet.