Skip to content

Commit

Permalink
[BUGFIX] Account for PLAYBACKSTATUS in prompt also
Browse files Browse the repository at this point in the history
  • Loading branch information
benlangfeld committed Jul 15, 2013
1 parent a3201ec commit 87c6140
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -69,8 +69,11 @@ def handle_event(event)

subject { described_class.new original_command, call }

let(:playbackstatus) { 'SUCCESS' }

before do
call.stub answered?: true, execute_agi_command: true
call.stub(:channel_var).with('PLAYBACKSTATUS').and_return playbackstatus
original_command.request!
end

Expand Down

0 comments on commit 87c6140

Please sign in to comment.