lib/adhearsion/generators/app/templates/simon_game_spec.rb in adhearsion-2.6.4 vs lib/adhearsion/generators/app/templates/simon_game_spec.rb in adhearsion-3.0.0.beta1

- old
+ new

@@ -3,12 +3,12 @@ require 'spec_helper' require 'call_controllers/simon_game' describe SimonGame do - let(:example_response) { OpenStruct.new(:response => "5") } + let(:example_response) { OpenStruct.new(:utterance => "5") } let(:example_number) { "5" } - let(:long_response) { OpenStruct.new(:response => "55555") } + let(:long_response) { OpenStruct.new(:utterance => "55555") } let(:long_number) { "55555" } let(:mock_call) { double 'Call' } subject { SimonGame.new(mock_call) }