Sha256: 747fdb5abbe246c9a383bb6e87245c90f367e1360c73ba3d250fd43d2d160dbc

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

require 'test_helper'
require 'rails/generators'
require 'generators/makers/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

1 entries across 1 versions & 1 rubygems

Version Path
makers-0.2.0 test/generator_test.rb