diff --git a/test/errors_test.rb b/test/errors_test.rb index 65a8c04..43e697f 100644 --- a/test/errors_test.rb +++ b/test/errors_test.rb @@ -7,7 +7,7 @@ class ErrorsTest < Minitest::Test index = Searchkick::Index.new "dogs", mappings: { dog: { properties: { - name: { type: "date" } + name: {type: "date"} } } } @@ -15,6 +15,5 @@ class ErrorsTest < Minitest::Test error = assert_raises(Searchkick::ImportError) do index.bulk_index [valid_dog, invalid_dog] end - assert_match /MapperParsingException.*Ol' One-Leg/, error.message end end -- libgit2 0.21.0