Class: AssertSelectMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
lib/vendor/plugins/rspec-rails/spec/spec/rails/matchers/assert_select_spec.rb

Instance Method Summary collapse

Instance Method Details

#test(html) ⇒ Object



37
38
39
40
41
42
# File 'lib/vendor/plugins/rspec-rails/spec/spec/rails/matchers/assert_select_spec.rb', line 37

def test(html)
  recipients "test <[email protected]>"
  from "[email protected]"
  subject "Test e-mail"
  part :content_type=>"text/html", :body=>html
end