aboutsummaryrefslogtreecommitdiffstats
path: root/test/generators/mailbox_generator_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/generators/mailbox_generator_test.rb')
-rw-r--r--test/generators/mailbox_generator_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/generators/mailbox_generator_test.rb b/test/generators/mailbox_generator_test.rb
index 26ab5a44d7..624fbef420 100644
--- a/test/generators/mailbox_generator_test.rb
+++ b/test/generators/mailbox_generator_test.rb
@@ -1,10 +1,10 @@
# frozen_string_literal: true
require "test_helper"
-require "generators/rails/mailbox_generator"
+require "rails/generators/mailbox/mailbox_generator"
class MailboxGeneratorTest < Rails::Generators::TestCase
- destination File.expand_path("../../tmp", File.dirname(__FILE__))
+ destination File.expand_path("../../tmp", __dir__)
setup :prepare_destination
tests Rails::Generators::MailboxGenerator