We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60d1f69 commit 853c268Copy full SHA for 853c268
spec/atlas/atlas_connectivity_spec.rb
@@ -11,13 +11,13 @@
11
12
describe 'connection to Atlas' do
13
it 'runs ismaster successfully' do
14
- result = client.database.command(:ismaster => 1)
15
- expect(result.documents.first['ismaster']).to be true
+ expect { client.database.command(:hello => 1) }
+ .not_to raise_error
16
end
17
18
it 'runs findOne successfully' do
19
- result = client.use(:test)['test'].find.to_a
20
- expect(result).to be_a(Array)
+ expect { client.use(:test)['test'].find.to_a }
21
22
23
0 commit comments