diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2018-12-18 22:03:23 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2018-12-18 22:05:42 +0100 |
commit | 7cf7ba4db535ea45e70e844cb653909be6143fd5 (patch) | |
tree | 77b709173e240ba10e0a73d05c95433756bb37dc /test/generators | |
parent | a2c3b282577d1dc784898681763a400a0caad5c3 (diff) | |
download | rails-7cf7ba4db535ea45e70e844cb653909be6143fd5.tar.gz rails-7cf7ba4db535ea45e70e844cb653909be6143fd5.tar.bz2 rails-7cf7ba4db535ea45e70e844cb653909be6143fd5.zip |
Refit generator file structure to match Action Cable.
Fits with rails/generators/channel containing:
- channel_generator.rb
- templates/
- USAGE
Diffstat (limited to 'test/generators')
-rw-r--r-- | test/generators/mailbox_generator_test.rb | 4 |
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 |