Sha256: 2abd1ca5c7428ec2d32b72a60ca649647aae3544ee4228d6be9529eba0caadf6
Contents?: true
Size: 448 Bytes
Versions: 19
Compression:
Stored size: 448 Bytes
Contents
require 'spec_helper' module Finitio describe MultiTupleType, "name" do let(:heading){ Heading.new([Attribute.new(:a, byte, false)]) } subject{ type.name } context 'when not provided' do let(:type){ MultiTupleType.new(heading) } it{ should eq("{a :? Byte}") } end context 'when provided' do let(:type){ MultiTupleType.new(heading, "Color") } it{ should eq("Color") } end end end
Version data entries
19 entries across 19 versions & 1 rubygems