Sha256: e8fb7fbb2dd14d2f4b66c840d54e46e9a310306a672c5f30f652858d13ef83c7
Contents?: true
Size: 437 Bytes
Versions: 21
Compression:
Stored size: 437 Bytes
Contents
require 'spec_helper' module Finitio describe RelationType, "name" do let(:heading){ Heading.new([Attribute.new(:a, byte)]) } subject{ type.name } context 'when not provided' do let(:type){ RelationType.new(heading) } it{ should eq("{{a: Byte}}") } end context 'when provided' do let(:type){ RelationType.new(heading, "colors") } it{ should eq("colors") } end end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
finitio-0.4.0 | spec/unit/type/relation_type/test_name.rb |