Sha256: ba07375b46a52d4886121f7e6d792d43acb0122f5e76bcab5912f1b310597dba
Contents?: true
Size: 497 Bytes
Versions: 3
Compression:
Stored size: 497 Bytes
Contents
require 'test_helper' require 'rails/generators' require 'generators/economy/install/install_generator' class GeneratorTest < Rails::Generators::TestCase destination Rails.root.join('tmp') teardown do FileUtils.rm_rf destination_root end test 'install' do self.class.tests Economy::Generators::InstallGenerator run_generator assert_file 'config/initializers/economy.rb' assert_file 'config/redis.yml' assert_migration 'db/migrate/create_exchanges.rb' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
economy-4.0.2.2 | test/generator_test.rb |
economy-4.0.2.1 | test/generator_test.rb |
economy-4.0.2.0 | test/generator_test.rb |