Sha256: 19c5b3ec58d30f333ea5571c64c6a8dd550851c9b2ad8e81c761ff5a9a41f9ca

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

require "test_helper"

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

	test "it creats a file" do
		run_generator

		assert_file "config/initializers/ts_schema.rb"
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ts_schema-0.1.1 test/install_generator_test.rb