Commit bf5b716fd85d4dcc5a4151b98b42bd246d51b0b3

Authored by Andrew Kane
1 parent 033f83f2

Fixed body_options test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/sql_test.rb
... ... @@ -55,7 +55,7 @@ class SqlTest < Minitest::Test
55 55 # body_options
56 56  
57 57 def test_body_options_should_merge_into_body
58   - query = Product.search({query: {name: "milk"}, body_options: {min_score: 1.0}}, execute: false)
  58 + query = Product.search("*", body_options: {min_score: 1.0}, execute: false)
59 59 assert_equal 1.0, query.body[:min_score]
60 60 end
61 61  
... ...