Sha256: fbb5b8b7848c1237a0c09c831ec58ae29e40d7d2bc9c4da4525ea922e476d0bb

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 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

1 entries across 1 versions & 1 rubygems

Version Path
abilities-0.1.1 test/generator_test.rb