Skip to content

Commit

Permalink
commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren committed Aug 9, 2018
1 parent d72f02a commit 402a334
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/functional/search_api_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,12 @@ def app

matcher = JsonExpressions::Matcher.new(pattern)

puts '#####################'
puts last_response.body
json = JSON.parse(last_response.body)

puts json
puts '#####################'
assert_equal "/profile/steff3", json['items'][0]['docUrl']
assert_equal "/profile/steff2", json['items'][1]['docUrl']
assert_equal "/profile/steff1", json['items'][2]['docUrl']
Expand Down

0 comments on commit 402a334

Please sign in to comment.