Sha256: 5f4b3328359d842194a641350c16320c55b565fcdc0fb03923dcd245581bfa79
Contents?: true
Size: 635 Bytes
Versions: 21
Compression:
Stored size: 635 Bytes
Contents
require "test_helper" require "generators/action_interactor/install_generator" module ActionInteractor class InstallGeneratorTest < ::Rails::Generators::TestCase tests ActionInteractor::Generators::InstallGenerator destination File.expand_path('../../tmp', __FILE__) setup :prepare_destination teardown { rm_rf(destination_root) } test "generates application interactor" do run_generator assert_file "app/interactors/application_interactor.rb" end test "generates directory for interactor concerns" do run_generator assert_directory "app/interactors/concerns" end end end
Version data entries
21 entries across 21 versions & 1 rubygems