diff options
author | Timm <kaspth@gmail.com> | 2014-05-28 11:20:38 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-16 21:04:26 +0200 |
commit | b276108330d9397740ce6a189f89d68206b8bf2c (patch) | |
tree | 4b6c74b8b7c551d4470e97118b821a58ae700126 /actionmailer/test/assert_select_email_test.rb | |
parent | 1a8ca9fc35083b51c48ddddb6b5b73af2046778c (diff) | |
download | rails-b276108330d9397740ce6a189f89d68206b8bf2c.tar.gz rails-b276108330d9397740ce6a189f89d68206b8bf2c.tar.bz2 rails-b276108330d9397740ce6a189f89d68206b8bf2c.zip |
Remove response faking.
Diffstat (limited to 'actionmailer/test/assert_select_email_test.rb')
-rw-r--r-- | actionmailer/test/assert_select_email_test.rb | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/actionmailer/test/assert_select_email_test.rb b/actionmailer/test/assert_select_email_test.rb index 2356237230..4c568f1945 100644 --- a/actionmailer/test/assert_select_email_test.rb +++ b/actionmailer/test/assert_select_email_test.rb @@ -26,10 +26,6 @@ class AssertSelectEmailTest < ActionMailer::TestCase # Test assert_select_email # - def setup - @response = FakeResponse.new(:html, 'some body text') - end - def test_assert_select_email assert_raise(Assertion) { assert_select_email {} } AssertSelectMailer.test("<div><p>foo</p><p>bar</p></div>").deliver @@ -50,14 +46,4 @@ class AssertSelectEmailTest < ActionMailer::TestCase end end end - - protected - - class FakeResponse - attr_accessor :content_type, :body - - def initialize(content_type, body) - @content_type, @body = content_type, body - end - end -end
\ No newline at end of file +end |