Sha256: 6780824e08a3a0580cb62c7661acab6f2ea9e1a9cbfec3cdd9b3f2d09a55b19b

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true
# rubocop:todo all

require 'lite_spec_helper'

describe 'Operations' do
  let(:uri) { ENV['ATLAS_URI'] }
  let(:client) { Mongo::Client.new(uri) }

  require_atlas

  describe 'ping' do
    it 'works' do
      expect do
        client.database.command(ping: 1)
      end.not_to raise_error
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mongo-2.20.1 spec/atlas/operations_spec.rb
mogno-2.20.0 spec/atlas/operations_spec.rb
mogno-1.0.0 spec/atlas/operations_spec.rb
mongo-2.20.0 spec/atlas/operations_spec.rb
mongo-2.19.3 spec/atlas/operations_spec.rb