Sha256: 957ea56f5266bbf9eaa096e6f95f080ebcf4f3988b999b345e8c008bf1c8c509
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
require 'test_helper' require 'rails/generators' require 'generators/abilities/install_generator' class GeneratorsTest < Rails::Generators::TestCase tests Abilities::InstallGenerator destination Rails.root.join('tmp') teardown do FileUtils.rm_rf self.destination_root end test 'initializer generator' do run_generator assert_file 'config/abilities.rb' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
abilities-0.1.2 | test/generator_test.rb |
abilities-0.1.0 | test/generator_test.rb |