lib/rails/templates/search_controller_test.dsl.rb in elasticsearch-rails-0.1.8 vs lib/rails/templates/search_controller_test.dsl.rb in elasticsearch-rails-0.1.9

- old
+ new

@@ -56,10 +56,10 @@ test "should return suggestions" do get :index, q: 'one' assert_response :success - suggestions = assigns(:articles).response.response['suggest'] + suggestions = assigns(:articles).response.suggest assert_equal 'one', suggestions['suggest_title'][0]['text'] end test "should return aggregations" do