spec/adhearsion/statistics_spec.rb in adhearsion-2.3.0 vs spec/adhearsion/statistics_spec.rb in adhearsion-2.3.1

- old
+ new

@@ -9,10 +9,10 @@ subject { Celluloid::Actor[:statistics] } before do Celluloid::Actor[:statistics] = described_class.new - flexmock(Adhearsion.active_calls).should_receive(:count).and_return 0 + Adhearsion.active_calls.stub count: 0 end after do Celluloid::Actor.clear_registry Adhearsion.router = nil