Permalink
Browse files

small change to improve rdocs

git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@489 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
  • Loading branch information...
tsaleh
tsaleh committed May 1, 2008
1 parent fa37ef0 commit 6ac26e9da88e0863bf326430da7575b1b0036bfb
Showing with 2 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −1 lib/shoulda/general.rb
View
@@ -1,2 +1,3 @@
test/rails_root/log/*.log
test/rails_root/vendor/plugins/shoulda
+doc
View
@@ -106,7 +106,7 @@ def assert_sent_email
emails = ActionMailer::Base.deliveries
assert !emails.empty?, "No emails were sent"
if block_given?
- matching_emails = emails.select {|e| yield e }
+ matching_emails = emails.select {|email| yield email }
assert !matching_emails.empty?, "None of the emails matched."
end
end

0 comments on commit 6ac26e9

Please sign in to comment.