Skip to content

Commit

Permalink
RUBY-1204 Don't test currentDate on < 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
estolfo committed Apr 18, 2017
1 parent dbdb2e4 commit 074f8bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/mongo/shell_examples_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@
])
end

context 'example 52' do
context 'example 52', if: write_command_enabled? do

let!(:example) do
client[:inventory].update_one({ item: 'paper'},
Expand All @@ -777,7 +777,7 @@
end
end

context 'example 53' do
context 'example 53', if: write_command_enabled? do

let!(:example) do
client[:inventory].update_many({ qty: { '$lt' => 50 } },
Expand Down

0 comments on commit 074f8bc

Please sign in to comment.