Skip to content

Instantly share code, notes, and snippets.

@BDQ
Created September 4, 2012 09:40
Show Gist options
  • Save BDQ/3619218 to your computer and use it in GitHub Desktop.
Save BDQ/3619218 to your computer and use it in GitHub Desktop.
Failures:
1) Spree::Api::V1::ProductsController as a normal user pagination can select the next page of products
Failure/Error: json_response["products"].first.should have_attributes(attributes)
NoMethodError:
undefined method `first' for nil:NilClass
# ./spec/controllers/spree/api/v1/products_controller_spec.rb:36:in `block (4 levels) in <module:Spree>'
Finished in 10.91 seconds
108 examples, 1 failure
Failed examples:
rspec ./spec/controllers/spree/api/v1/products_controller_spec.rb:32 # Spree::Api::V1::ProductsController as a normal user pagination can select the next page of products
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment