Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Add a second of waiting to Texas button sequence to avoid call ending…
Browse files Browse the repository at this point in the history
… due to silence (#303)
  • Loading branch information
daguar committed May 26, 2015
1 parent cd374a0 commit 199c994
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/state_handler/tx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class StateHandler::TX < StateHandler::Base
ALLOWED_NUMBER_OF_EBT_CARD_DIGITS = [19]

def button_sequence(ebt_number)
"wwww1wwwwww#{ebt_number}ww"
"wwww1wwwwww#{ebt_number}wwww"
end

def transcribe_balance_response(transcription_text, language = :english)
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/state_handler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@
it 'gives correct button sequence' do
fake_ebt_number = '11112222'
desired_sequence = subject.button_sequence(fake_ebt_number)
expect(desired_sequence).to eq("wwww1wwwwww#{fake_ebt_number}ww")
expect(desired_sequence).to eq("wwww1wwwwww#{fake_ebt_number}wwww")
end

it 'tells the number of digits a CA EBT card has' do
Expand Down

0 comments on commit 199c994

Please sign in to comment.