spec/adhearsion/router_spec.rb in adhearsion-2.3.5 vs spec/adhearsion/router_spec.rb in adhearsion-2.4.0.beta1
- old
+ new
@@ -7,10 +7,10 @@
module Adhearsion
describe Router do
describe 'a new router' do
subject { Router.new {} }
- let(:call) { mock 'Adhearsion::Call' }
+ let(:call) { double 'Adhearsion::Call' }
before { call.stub id: 'abc123' }
it "should make the router available to the block" do
foo = nil
Router.new do