Sha256: 9ad0f39326c1ec3046a23e069de00d3da71f55ac9bd21669aba5d4536d6d024c

Contents?: true

Size: 402 Bytes

Versions: 2

Compression:

Stored size: 402 Bytes

Contents

require 'test_helper'
require 'rails/generators'
require 'generators/abilities/install/install_generator'

class GeneratorsTest < Rails::Generators::TestCase
  destination Rails.root.join('tmp')

  teardown do
    FileUtils.rm_rf destination_root
  end

  test 'install' do
    self.class.tests Abilities::Generators::InstallGenerator
    run_generator
    assert_file 'config/abilities.rb'
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

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