Sha256: b61f1c5403da60cadc48cc97cd7b78679a7feee4becf8b2a6a7c28beda9714eb
Contents?: true
Size: 429 Bytes
Versions: 2
Compression:
Stored size: 429 Bytes
Contents
require 'test_helper' require 'rails/generators' require 'generators/abilities/install_generator' class GeneratorsTest < Rails::Generators::TestCase tests Abilities::InstallGenerator destination File.expand_path('../tmp', File.dirname(__FILE__)) teardown do FileUtils.rm_rf self.destination_root end test 'initializer generator' do run_generator assert_file 'config/initializers/abilities.rb' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
abilities-0.0.4 | test/generator_test.rb |
abilities-0.0.3 | test/generator_test.rb |