Guest User

Untitled

a guest
Apr 26th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. Scenario: Search for objects when one has been created # features/api/search/show_search.feature:16
  2. Given a 'registration' named 'bobo' exists # features/steps/fixture_steps.rb:186
  3. And a 'data_bag' named 'users' exists # features/steps/fixture_steps.rb:186
  4. And a 'data_bag_item' named 'francis' exists # features/steps/fixture_steps.rb:186
  5. And I wait for '10' seconds # features/steps/fixture_steps.rb:236
  6. When I authenticate as 'bobo' # features/steps/request_steps.rb:56
  7. INDEX NAME: `node'
  8. {"total"=>0, "start"=>0, "rows"=>[]}
  9. INDEX NAME: `role'
  10. {"total"=>0, "start"=>0, "rows"=>[]}
  11. INDEX NAME: `users'
  12. {"total"=>0, "start"=>0, "rows"=>[]}
  13. And I dump the contents of the search index # features/steps/request_steps.rb:1
  14. And I 'GET' the path '/search/users' # features/steps/request_steps.rb:8
  15. /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/matcher.rb:17: warning: multiple values for a block parameter (0 for 1)
  16. from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/matcher.rb:74
  17. Then the inflated responses key 'rows' item '0' should be a kind of 'Chef::DataBagItem' # features/steps/response_steps.rb:40
  18. expected nil to be a kind of Chef::DataBagItem (Spec::Expectations::ExpectationNotMetError)
  19. features/api/search/show_search.feature:24:in `Then the inflated responses key 'rows' item '0' should be a kind of 'Chef::DataBagItem''
  20. And the inflated responses key 'rows' item '0' key 'id' should be 'francis' # features/steps/response_steps.rb:44
  21. And the inflated responses key 'start' should be the integer '0' # features/steps/response_steps.rb:9
  22. And the inflated responses key 'total' should be the integer '1' # features/steps/response_steps.rb:9
Add Comment
Please, Sign In to add comment