From 01971b48c448fb9548d2a9ca5fb79a71922d73ce Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 19 Sep 2018 15:01:33 -0700 Subject: Missing suffix --- test/unit/inbound_email/deliver_to_mailroom.rb | 11 ----------- test/unit/inbound_email/deliver_to_mailroom_test.rb | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 test/unit/inbound_email/deliver_to_mailroom.rb create mode 100644 test/unit/inbound_email/deliver_to_mailroom_test.rb (limited to 'test/unit') diff --git a/test/unit/inbound_email/deliver_to_mailroom.rb b/test/unit/inbound_email/deliver_to_mailroom.rb deleted file mode 100644 index c583f4a0a4..0000000000 --- a/test/unit/inbound_email/deliver_to_mailroom.rb +++ /dev/null @@ -1,11 +0,0 @@ -require_relative '../../test_helper' - -class ActionMailroom::InboundEmail::DeliverToMailroomTest < ActiveSupport::TestCase - include ActiveJob::TestHelper - - test "pending emails are delivered to the mailroom" do - assert_enqueued_jobs 1, only: ActionMailroom::DeliverInboundEmailToMailroomJob do - create_inbound_email("welcome.eml", status: :pending) - end - end -end diff --git a/test/unit/inbound_email/deliver_to_mailroom_test.rb b/test/unit/inbound_email/deliver_to_mailroom_test.rb new file mode 100644 index 0000000000..c583f4a0a4 --- /dev/null +++ b/test/unit/inbound_email/deliver_to_mailroom_test.rb @@ -0,0 +1,11 @@ +require_relative '../../test_helper' + +class ActionMailroom::InboundEmail::DeliverToMailroomTest < ActiveSupport::TestCase + include ActiveJob::TestHelper + + test "pending emails are delivered to the mailroom" do + assert_enqueued_jobs 1, only: ActionMailroom::DeliverInboundEmailToMailroomJob do + create_inbound_email("welcome.eml", status: :pending) + end + end +end -- cgit v1.2.3