spec/mongo/cluster/periodic_executor_spec.rb in mongo-2.15.1 vs spec/mongo/cluster/periodic_executor_spec.rb in mongo-2.16.0.alpha1
- old
+ new
@@ -3,11 +3,13 @@
require 'spec_helper'
describe Mongo::Cluster::PeriodicExecutor do
+ let(:cluster) { double('cluster') }
+
let(:executor) do
- described_class.new
+ described_class.new(cluster)
end
describe '#log_warn' do
it 'works' do
expect do