Sha256: 0486ff2ae61e7408941e2ebbf88574af09173a87d3e46de13a21ce27174d0b8c
Contents?: true
Size: 403 Bytes
Versions: 4
Compression:
Stored size: 403 Bytes
Contents
require 'test_helper' require 'rails/generators' require 'generators/slugs/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 Slugs::Generators::InstallGenerator run_generator assert_file 'config/initializers/slugs.rb' end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
slugs-4.0.0.3 | test/generator_test.rb |
slugs-4.0.0.2 | test/generator_test.rb |
slugs-4.0.0.1 | test/generator_test.rb |
slugs-4.0.0.0 | test/generator_test.rb |