Sha256: 47a3ede4a6e90462a34260203da4229a1a6412e2fc3fe0392f00f079d71059b8
Contents?: true
Size: 394 Bytes
Versions: 1
Compression:
Stored size: 394 Bytes
Contents
require 'test_helper' require 'rails/generators' require 'generators/slugs/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/initializers/slugs.rb' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slugs-2.0.1 | test/generator_test.rb |