spec/appsignal_spec.rb in appsignal-0.6.1 vs spec/appsignal_spec.rb in appsignal-0.6.2

- old
+ new

@@ -103,10 +103,10 @@ end end describe ".send_exception" do it "should raise exception" do - agent = mock + agent = double Appsignal.should_receive(:agent).exactly(3).times.and_return(agent) agent.should_receive(:send_queue) agent.should_receive(:enqueue).with(kind_of(Appsignal::Transaction)) Appsignal::Transaction.should_receive(:create).and_call_original