mongoid_versioned_atomic 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,7 +40,7 @@ class CoreExtTest < ActiveSupport::TestCase
40
40
  a2.name = "bb"
41
41
  a2.email = "bhargav.r.raut@gmail.com"
42
42
  a2.versioned_create({"email" => a2.email})
43
- assert_equal true, a2.op_success, "this op should also succeed"
43
+ assert_equal false, a2.op_success, "this op should not succeed"
44
44
  assert_nil a2.upserted_id,"no new doc should be upserted"
45
45
  assert_equal 1, a2.matched_count, "it should match an existing doc"
46
46
  end
@@ -200,6 +200,7 @@ class CoreExtTest < ActiveSupport::TestCase
200
200
  u.name = "bhargav"
201
201
  u.email = "t@gmail.com"
202
202
  u.versioned_create
203
+
203
204
 
204
205
  u1 = User.new
205
206
  u1.name = "dog"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_versioned_atomic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - greatmanta111