Sha256: e2cf6b25275dc3c9e480d371e6dfa149eae99a3c1c6bd478f29d264a11ac8b43
Contents?: true
Size: 723 Bytes
Versions: 1
Compression:
Stored size: 723 Bytes
Contents
require "test_helper" class TsSchemaTest < ActiveSupport::TestCase test "it loads custom config values from initializer" do assert TsSchema.configuration.case assert TsSchema.configuration.output assert TsSchema.configuration.auto_generate assert TsSchema.configuration.types assert TsSchema.configuration.custom_types assert TsSchema.configuration.default_type assert TsSchema.configuration.include_associated assert TsSchema.configuration.namespace end test "it generates a schema file" do path = TsSchema.configuration.output File.delete(path) if File.exist?(path) TsSchema.generate assert File.exist?(path) end test "it has a version number" do assert TsSchema::VERSION end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ts_schema-0.1.1 | test/ts_schema_test.rb |