1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix an error in isolated running of tests

This commit is contained in:
Carlhuda 2010-03-18 11:30:31 -07:00
parent d164d868b3
commit 9da153c2d3

View file

@ -26,14 +26,6 @@ class UrlTestMailer < ActionMailer::Base
@recipient = recipient
@welcome_url = url_for :host => "example.com", :controller => "welcome", :action => "greeting"
end
class <<self
attr_accessor :received_body
end
def receive(mail)
self.class.received_body = mail.body
end
end
class ActionMailerUrlTest < Test::Unit::TestCase