Commit 1b5f07cdb88cce8abdb30b33c0e352ce9a9eba91
1 parent
224a1ec1
Exists in
master
and in
21 other branches
Fix build with mongoid4/5
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/errors_test.rb
@@ -11,6 +11,7 @@ class ErrorsTest < Minitest::Test | @@ -11,6 +11,7 @@ class ErrorsTest < Minitest::Test | ||
11 | } | 11 | } |
12 | } | 12 | } |
13 | } | 13 | } |
14 | + index.store valid_dog | ||
14 | error = assert_raises(Searchkick::ImportError) do | 15 | error = assert_raises(Searchkick::ImportError) do |
15 | index.bulk_index [valid_dog, invalid_dog] | 16 | index.bulk_index [valid_dog, invalid_dog] |
16 | end | 17 | end |