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
small change to improve rdocs


git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@489 
7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
tsaleh (author)
Thu May 01 06:49:45 -0700 2008
commit  6ac26e9da88e0863bf326430da7575b1b0036bfb
tree    43f90655e03a4e2d843aee2f6a9d1f4018af350a
parent  fa37ef07af6c1a36da12c26f7ec2afc6b0e2499e
...
1
2
 
...
1
2
3
0
@@ -1,2 +1,3 @@
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 @@ module ThoughtBot # :nodoc:
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.