From 377d0de84391491501ecbdfdd1d23657cab90eff Mon Sep 17 00:00:00 2001 From: Abdelkader Boudih Date: Sat, 30 Aug 2014 14:38:33 +0000 Subject: [ActionMailer] Rename test/test_test to test/test_case_test --- actionmailer/test/test_case_test.rb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 actionmailer/test/test_case_test.rb (limited to 'actionmailer/test/test_case_test.rb') diff --git a/actionmailer/test/test_case_test.rb b/actionmailer/test/test_case_test.rb new file mode 100644 index 0000000000..86fd37bea6 --- /dev/null +++ b/actionmailer/test/test_case_test.rb @@ -0,0 +1,28 @@ +require 'abstract_unit' + +class TestTestMailer < ActionMailer::Base +end + +class CrazyNameMailerTest < ActionMailer::TestCase + tests TestTestMailer + + def test_set_mailer_class_manual + assert_equal TestTestMailer, self.class.mailer_class + end +end + +class CrazySymbolNameMailerTest < ActionMailer::TestCase + tests :test_test_mailer + + def test_set_mailer_class_manual_using_symbol + assert_equal TestTestMailer, self.class.mailer_class + end +end + +class CrazyStringNameMailerTest < ActionMailer::TestCase + tests 'test_test_mailer' + + def test_set_mailer_class_manual_using_string + assert_equal TestTestMailer, self.class.mailer_class + end +end -- cgit v1.2.3