Sha256: 9056e27c2bea464b34e3f86edbfd99ea564966fa831f4e4c7e7dd9774317d074

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 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) ],
                        hex: [floatType, Color.method(:hex) ])
    }

    it{ should eq('Color') }

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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