spec/mongo/collection_spec.rb in mongo-2.2.0.rc0 vs spec/mongo/collection_spec.rb in mongo-2.2.0
- old
+ new
@@ -519,10 +519,10 @@
expect(document).to_not be_nil
end
end
end
- context 'when the user is not authorized' do
+ context 'when the user is not authorized', if: auth_enabled? do
let(:view) do
unauthorized_collection.find
end