spec/lib/metricize_spec.rb in metricize-0.5.3 vs spec/lib/metricize_spec.rb in metricize-0.5.4

- old
+ new

@@ -56,9 +56,10 @@ forwarder.go! end it "limits the number of metrics forwarded to the remote in a single request" do forwarder.instance_variable_set(:@batch_size, 3) + forwarder.instance_variable_set(:@remote_requests, 1) 7.times { | n| client.increment('stat.name' + n.to_s) } forwarder.go! expect(forwarder.send(:queue_length)).to eq 4 forwarder.go! expect(forwarder.send(:queue_length)).to eq 1