From b276108330d9397740ce6a189f89d68206b8bf2c Mon Sep 17 00:00:00 2001 From: Timm Date: Wed, 28 May 2014 11:20:38 +0200 Subject: Remove response faking. --- actionmailer/test/assert_select_email_test.rb | 16 +--------------- 1 file changed, 1 insertion(+), 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("

foo

bar

").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 -- cgit v1.2.3