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