spec/lita/handlers/locker_labels_spec.rb in lita-locker-1.0.0 vs spec/lita/handlers/locker_labels_spec.rb in lita-locker-1.0.1

- old
+ new

@@ -34,9 +34,10 @@ describe '#label_list' do it 'shows a list of labels if there are any' do send_command('locker label create foobar') send_command('locker label create bazbat') send_command('locker label list') + sleep 1 # TODO: HAAAACK. Need after to have a more testable behavior. expect(replies.include?('foobar is unlocked')).to eq(true) expect(replies.include?('bazbat is unlocked')).to eq(true) end end