spec/mongo/operation/update_user_spec.rb in mongo-2.11.6 vs spec/mongo/operation/update_user_spec.rb in mongo-2.12.0.rc0
- old
+ new
@@ -33,10 +33,10 @@
end
context 'when user update was successful' do
let!(:response) do
- operation.execute(root_authorized_primary)
+ operation.execute(root_authorized_primary, client: nil)
end
it 'updates the user in the database' do
expect(response).to be_successful
end