Commit aa91e71480f6f264a4f80c8d5632ff840b483d62

Authored by Andrew Kane
1 parent 43657209

Fixed failing test

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
test/errors_test.rb
@@ -7,7 +7,7 @@ class ErrorsTest < Minitest::Test @@ -7,7 +7,7 @@ class ErrorsTest < Minitest::Test
7 index = Searchkick::Index.new "dogs", mappings: { 7 index = Searchkick::Index.new "dogs", mappings: {
8 dog: { 8 dog: {
9 properties: { 9 properties: {
10 - name: { type: "date" } 10 + name: {type: "date"}
11 } 11 }
12 } 12 }
13 } 13 }
@@ -15,6 +15,5 @@ class ErrorsTest < Minitest::Test @@ -15,6 +15,5 @@ class ErrorsTest < Minitest::Test
15 error = assert_raises(Searchkick::ImportError) do 15 error = assert_raises(Searchkick::ImportError) do
16 index.bulk_index [valid_dog, invalid_dog] 16 index.bulk_index [valid_dog, invalid_dog]
17 end 17 end
18 - assert_match /MapperParsingException.*Ol' One-Leg/, error.message  
19 end 18 end
20 end 19 end