Sha256: 331ef0ad39435208531171ef367a99ebfe4d7efc9aff0745facfb548122004c5
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 Bytes
Contents
require 'test_helper' require 'rails/generators' require 'generators/cronjobs/install_generator' class GeneratorsTest < Rails::Generators::TestCase tests Cronjobs::Generators::InstallGenerator destination Rails.root.join('tmp') teardown do FileUtils.rm_rf destination_root end test 'file generation' do run_generator assert_file 'config/cronjobs.rb' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cronjobs-0.1.0 | test/generator_test.rb |
cronjobs-0.0.1 | test/generator_test.rb |