Sha256: 3c98eb4b96d5b3c269044d80def7dac8a8906e4635da0e3490324f832d59d750
Contents?: true
Size: 336 Bytes
Versions: 3
Compression:
Stored size: 336 Bytes
Contents
require 'spec_helper' module Qrb describe AdType, "name" do subject{ type.name } context 'when provided' do let(:type){ AdType.new(Color, {}, "Foo") } it{ should eq('Foo') } end context 'when not provided' do let(:type){ AdType.new(Color, {}) } it{ should eq('Color') } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
qrb-0.3.0 | spec/unit/type/ad_type/test_name.rb |
qrb-0.2.0 | spec/unit/type/ad_type/test_name.rb |
qrb-0.1.0 | spec/unit/type/ad_type/test_name.rb |