Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scenario: Search for objects when one has been created # features/api/search/show_search.feature:16
- Given a 'registration' named 'bobo' exists # features/steps/fixture_steps.rb:186
- And a 'data_bag' named 'users' exists # features/steps/fixture_steps.rb:186
- And a 'data_bag_item' named 'francis' exists # features/steps/fixture_steps.rb:186
- And I wait for '10' seconds # features/steps/fixture_steps.rb:236
- When I authenticate as 'bobo' # features/steps/request_steps.rb:56
- INDEX NAME: `node'
- {"total"=>0, "start"=>0, "rows"=>[]}
- INDEX NAME: `role'
- {"total"=>0, "start"=>0, "rows"=>[]}
- INDEX NAME: `users'
- {"total"=>0, "start"=>0, "rows"=>[]}
- And I dump the contents of the search index # features/steps/request_steps.rb:1
- And I 'GET' the path '/search/users' # features/steps/request_steps.rb:8
- /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)
- from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/matcher.rb:74
- Then the inflated responses key 'rows' item '0' should be a kind of 'Chef::DataBagItem' # features/steps/response_steps.rb:40
- expected nil to be a kind of Chef::DataBagItem (Spec::Expectations::ExpectationNotMetError)
- features/api/search/show_search.feature:24:in `Then the inflated responses key 'rows' item '0' should be a kind of 'Chef::DataBagItem''
- And the inflated responses key 'rows' item '0' key 'id' should be 'francis' # features/steps/response_steps.rb:44
- And the inflated responses key 'start' should be the integer '0' # features/steps/response_steps.rb:9
- 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