Sha256: 141c720834c5365f6242e15b31f2c581fe52f7ac4d532b106018485d3bdae410

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

require 'spec_helper'
module Qrb
  describe AdType, "default_name" do

    subject{ type.default_name }

    let(:type){
      AdType.new(Color, rgb: [intType,   Color.method(:rgb), Qrb::IDENTITY ],
                        hex: [floatType, Color.method(:hex), Qrb::IDENTITY ])
    }

    it{ should eq('Color') }

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qrb-0.3.0 spec/unit/type/ad_type/test_default_name.rb