spec/lita/handlers/butt_spec.rb in lita-butt-0.1.0 vs spec/lita/handlers/butt_spec.rb in lita-butt-0.1.1

- old
+ new

@@ -6,21 +6,31 @@ it { is_expected.to route('butt').to(:butt) } it { is_expected.to route('btt').to(:butt) } it { is_expected.to route('buuuuuutt').to(:butt) } describe '#butt' do - it 'replied with a butt' do + it 'replies with a butt' do send_message 'butt' expect(replies.last).to eq '(_)_)' end - it 'replied with a big ol butt' do + it 'replies with a big ol butt' do send_message 'buuuuuuuuuutt' expect(replies.last).to eq '(__________)__________)' end it 'replies with a small butt' do send_message 'btt' expect(replies.last).to eq '())' + end + + it 'replies with multiple butts' do + send_message 'butts' + expect(replies.last).to eq '(_)_) (_)_)' + end + + it 'replies with multiple big butts' do + send_message 'buuuuutts' + expect(replies.last).to eq '(_____)_____) (_____)_____)' end end end