Skip to content

Commit

Permalink
Nuke some dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
benlangfeld committed Mar 12, 2014
1 parent 24593dd commit d7e5997
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions spec/adhearsion-asr/controller_methods_spec.rb
Expand Up @@ -17,19 +17,6 @@ module AdhearsionASR
double call, write_command: true, id: call_id
end

def expect_message_waiting_for_utterance(message, fail = false)
expectation = controller.should_receive(:write_and_await_utterance).with message
if fail
expectation.and_raise fail
else
expectation.and_return message
end
end

def expect_message_of_type_waiting_for_utterance(message)
controller.should_receive(:write_and_await_utterance).with(message.class).and_return message
end

def expect_component_execution(component, fail = false)
expectation = controller.should_receive(:execute_component_and_await_completion).ordered.with(component)
if fail
Expand Down

0 comments on commit d7e5997

Please sign in to comment.