spec/beespew_spec.rb in beespew-0.1.0 vs spec/beespew_spec.rb in beespew-0.2.0

- old
+ new

@@ -1,9 +1,17 @@ require 'spec_helper' describe Beespew do describe '.attribute' do - it { expect(Beespew.attribute).to eql 'beespew' } + it 'defaults to "beespew"' do + expect(Beespew.attribute).to eql 'beespew' + end + end + + describe '.configure' do + it 'yields itself' do + expect { |b| Beespew.configure(&b) }.to yield_with_args(Beespew) + end end end