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:
parent
d164d868b3
commit
9da153c2d3
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue