Sha256: d1b85c810c4cff1e8200662c01a8cf432584daf53345212665b8cf58ebb1e8cf

Contents?: true

Size: 390 Bytes

Versions: 5

Compression:

Stored size: 390 Bytes

Contents

require 'test_helper'
require 'rails/generators'
require 'generators/makers/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 Makers::Generators::InstallGenerator
    run_generator
    assert_file 'test/makers.rb'
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
makers-4.0.0.4 test/generator_test.rb
makers-4.0.0.3 test/generator_test.rb
makers-4.0.0.2 test/generator_test.rb
makers-4.0.0.1 test/generator_test.rb
makers-4.0.0.0 test/generator_test.rb