spec/runners/sdam.rb in mongo-2.15.1 vs spec/runners/sdam.rb in mongo-2.16.0.alpha1

- old
+ new

@@ -35,10 +35,11 @@ when 'Mongos' then server.mongos? when 'Unknown' then server.unknown? when 'PossiblePrimary' then server.unknown? when 'RSGhost' then server.ghost? when 'RSOther' then server.other? + when 'LoadBalancer' then server.load_balancer? else raise "Unknown type #{type}" end end end @@ -250,10 +251,10 @@ 'server_closed_event' => Mongo::Monitoring::Event::ServerClosed, 'server_description_changed_event' => Mongo::Monitoring::Event::ServerDescriptionChanged, 'server_opening_event' => Mongo::Monitoring::Event::ServerOpening, 'topology_description_changed_event' => Mongo::Monitoring::Event::TopologyChanged, 'topology_opening_event' => Mongo::Monitoring::Event::TopologyOpening - } + }.freeze attr_reader :name attr_reader :data def initialize(name, data)