Sha256: 17d982c7882a9ca2c062fb78321a11b741c41fabf27a0f1f3d3051a15ab5df25

Contents?: true

Size: 392 Bytes

Versions: 2

Compression:

Stored size: 392 Bytes

Contents

require 'test_helper'
require 'rails/generators'
require 'generators/crumbs/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 Crumbs::Generators::InstallGenerator
    run_generator
    assert_file 'config/crumbs.rb'
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
crumbs-4.0.0.1 test/generator_test.rb
crumbs-4.0.0.0 test/generator_test.rb