Sha256: 04a5ce074fa83dcb13dbcc76ffda1ff7c336bd5312796c175384524b51847110

Contents?: true

Size: 277 Bytes

Versions: 21

Compression:

Stored size: 277 Bytes

Contents

require 'spec_helper'
module Finitio
  describe RelationType, "default_name" do

    let(:heading){
      Heading.new([Attribute.new(:a, byte)])
    }

    subject{ type.default_name }

    let(:type){ RelationType.new(heading) }

    it{ should eq("{{a: Byte}}") }

  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
finitio-0.4.0 spec/unit/type/relation_type/test_default_name.rb