Sha256: 3412819d53dd6743a04be58d23204d1a07d330838a327c64768880e6112a6cbf

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

require "test_helper"

class InstallGeneratorTest < Rails::Generators::TestCase
  tests KnockRails3::InstallGenerator
  destination File.expand_path("../tmp", File.dirname(__FILE__))
  setup :prepare_destination

  test "Assert all files are properly created" do
    run_generator
    assert_file "config/initializers/KnockRails3.rb"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
KnockRails3-2.1.1 test/generators/install_generator_test.rb