spec/lita/handlers/locker_spec.rb in lita-locker-0.5.2 vs spec/lita/handlers/locker_spec.rb in lita-locker-0.5.3
- old
+ new
@@ -182,10 +182,10 @@
send_command('locker label add bar to foo')
send_command('locker status foo')
expect(replies.last).to eq('Label: foo, state: unlocked')
send_command('lock foo')
send_command('locker status foo')
- expect(replies.last).to eq('Label: foo, state: locked')
+ expect(replies.last).to eq('Label: foo, state: locked, owner: Test User')
end
it 'shows the status of a resource' do
send_command('locker resource create bar')
send_command('locker label create foo')