Sha256: 6dd3b893a310b2068c9e0f15e88c5c70263dbef67baf509fdbde154422ee2a1d
Contents?: true
Size: 449 Bytes
Versions: 2
Compression:
Stored size: 449 Bytes
Contents
require 'spec_helper' describe Jan::Symbol::Band::Bar do describe 'initializer' do it 'receives width' do bar = described_class.new(1) expect(bar).to be_an_instance_of(described_class) expect(bar.color).to eq 'black' end it 'receives width and color' do bar = described_class.new(1, color: 'gray') expect(bar).to be_an_instance_of(described_class) expect(bar.color).to eq 'gray' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jan-0.2.4 | spec/jan/symbol/band/bar_spec.rb |
jan-0.2.3 | spec/jan/symbol/band/bar_spec.rb |