Sha256: 9ddf1d2f055781d32095d45040d76350eadf4d1693171ceaeacffd9e2b4142e4
Contents?: true
Size: 465 Bytes
Versions: 3
Compression:
Stored size: 465 Bytes
Contents
require 'test_helper' require 'rails/generators' require 'generators/sidejobs/install/install_generator' class GeneratorsTest < Rails::Generators::TestCase destination Rails.root.join('tmp') teardown do FileUtils.rm_rf destination_root end test 'install' do self.class.tests Sidejobs::Generators::InstallGenerator run_generator assert_file 'config/initializers/sidejobs.rb' assert_migration 'db/migrate/create_sidejobs.rb' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sidejobs-4.0.0.2 | test/generator_test.rb |
sidejobs-4.0.0.1 | test/generator_test.rb |
sidejobs-4.0.0.0 | test/generator_test.rb |