Sha256: 02804bbd11ac1e8405cee38730aef43e9a74468929cf4907d3d955072fad7d6c

Contents?: true

Size: 273 Bytes

Versions: 3

Compression:

Stored size: 273 Bytes

Contents

require 'spec_helper'
module Qrb
  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

3 entries across 3 versions & 1 rubygems

Version Path
qrb-0.3.0 spec/unit/type/relation_type/test_default_name.rb
qrb-0.2.0 spec/unit/type/relation_type/test_default_name.rb
qrb-0.1.0 spec/unit/type/relation_type/test_default_name.rb