Skip to content

Instantly share code, notes, and snippets.

@bourroush
Created January 3, 2014 17:21
Show Gist options
  • Save bourroush/8242100 to your computer and use it in GitHub Desktop.
Save bourroush/8242100 to your computer and use it in GitHub Desktop.
Pending:
Spree::ShippingMethod gift cards only gift cards in order should only return electronic shipping methods for gift card only orders
# Implemented, but requires test coverage
# ./spec/models/spree/shipping_method_spec.rb:12
AddToCartFormWidget receiving an :add_to_cart event reveals the mini-cart
# implemented, but lacking test coverage
# ./spec/widgets/add_to_cart_form_widget_spec.rb:137
AddToCartFormWidget rendering the widget does not reveal the mini-cart
# implemented, but lacking test coverage
# ./spec/widgets/add_to_cart_form_widget_spec.rb:27
Users index page with additional fields should indicate whether or not a user has a subscription
# Requires subscription system development
# ./spec/requests/admin/users_spec.rb:29
ProductCatalog::GridWidget rendering the widget with some products to display should render pagination
# the need for pagination again
# ./spec/widgets/product_catalog/grid_widget_spec.rb:57
ProductCatalog::GridWidget when handling :paginate events redraws the catalog grid
# the need for pagination again
# ./spec/widgets/product_catalog/grid_widget_spec.rb:67
Page footer
In order to access lower-value areas of the site
As a visitor
I can use the page footer's navigation elements
Implementation of any page-footer functionality
# No reason given
# ./spec/acceptance/page_footer_spec.rb:10
Finished in 36.01 seconds
127 examples, 58 failures, 7 pending
Failed examples:
rspec ./spec/acceptance/product_page_spec.rb:21 # Product page adds a product to the cart without leaving the product page
rspec ./spec/acceptance/product_page_spec.rb:32 # Product page adds a subscription to the cart
rspec ./spec/widgets/product_catalog/grid_widget_spec.rb:97 # ProductCatalog::GridWidget when handling :clear_filters events redraws the catalog grid
rspec ./spec/widgets/product_catalog/grid_widget_spec.rb:53 # ProductCatalog::GridWidget rendering the widget with some products to display should render the product grid
rspec ./spec/widgets/product_catalog/grid_widget_spec.rb:36 # ProductCatalog::GridWidget rendering the widget without any products should not render pagination
rspec ./spec/widgets/product_catalog/grid_widget_spec.rb:32 # ProductCatalog::GridWidget rendering the widget without any products should render an empty product-grid
rspec ./spec/widgets/product_catalog/grid_widget_spec.rb:81 # ProductCatalog::GridWidget when handling :apply_filters events redraws the catalog grid
rspec ./spec/widgets/product_catalog/grid_widget_spec.rb:17 # ProductCatalog::GridWidget widget instance should respond to #display
rspec ./spec/widgets/coffee_calculator_widget_spec.rb:41 # CoffeeCalculatorWidget receiving a :calculate event calculates the number of bags needed
rspec ./spec/widgets/coffee_calculator_widget_spec.rb:25 # CoffeeCalculatorWidget rendering the widget renders the coffee calculator
rspec ./spec/models/spree/line_item_spec.rb:15 # Spree::LineItem#weight returns the product of its variant's weight and its quantity
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:80 # Spree::Api::GiftCardsController PUT #update value cannot be 0
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:57 # Spree::Api::GiftCardsController PUT #update should decrease card's amount with 20
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:75 # Spree::Api::GiftCardsController PUT #update value cannot be less 0
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:42 # Spree::Api::GiftCardsController PUT #update unauthorized without token
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:85 # Spree::Api::GiftCardsController PUT #update cannot decrease bigger amount than the card's value
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:52 # Spree::Api::GiftCardsController PUT #update no resource without params
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:69 # Spree::Api::GiftCardsController PUT #update have a new transaction and store is 'new york'
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:47 # Spree::Api::GiftCardsController PUT #update unauthorized without invalid token
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:63 # Spree::Api::GiftCardsController PUT #update have a new transaction
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:33 # Spree::Api::GiftCardsController GET #show card should have 100$ left
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:18 # Spree::Api::GiftCardsController GET #show unauthorized without invalid token
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:23 # Spree::Api::GiftCardsController GET #show resource not found with no params
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:28 # Spree::Api::GiftCardsController GET #show resource not found with non-existing code
rspec ./spec/controllers/spree/api/gift_cards_controller_spec.rb:13 # Spree::Api::GiftCardsController GET #show unauthorized without token
rspec ./spec/widgets/mini_cart_widget_spec.rb:39 # MiniCartWidget receiving an :cart_updated event updates the line-item count
rspec ./spec/widgets/mini_cart_widget_spec.rb:21 # MiniCartWidget rendering the widget renders the cart navigation link
rspec ./spec/models/spree/product_spec.rb:69 # Spree::Product preorderable and available 2 days later should not be shippable?
rspec ./spec/models/spree/product_spec.rb:64 # Spree::Product preorderable and available 2 days later should be available
rspec ./spec/models/spree/product_spec.rb:24 # Spree::Product product is already available (with past date) should be available
rspec ./spec/models/spree/product_spec.rb:28 # Spree::Product product is already available (with past date) should be available to pre-order
rspec ./spec/models/spree/product_spec.rb:32 # Spree::Product product is already available (with past date) should be subscribable
rspec ./spec/models/spree/product_spec.rb:46 # Spree::Product product will be available in the future should not be available unless available on is within 3 months from now
rspec ./spec/models/spree/product_spec.rb:57 # Spree::Product product will be available in the future should not be subscribable
rspec ./spec/models/spree/product_spec.rb:51 # Spree::Product product will be available in the future should be available to pre-order
rspec ./spec/models/spree/product_spec.rb:42 # Spree::Product product will be available in the future should be available
rspec ./spec/models/spree/product_spec.rb:15 # Spree::Product product's available date is nil should be available to pre-order
rspec ./spec/models/spree/product_spec.rb:11 # Spree::Product product's available date is nil should not be available
rspec ./spec/models/spree/product_spec.rb:81 # Spree::Product preorderable and available tomorrow should be shippable?
rspec ./spec/models/spree/product_spec.rb:76 # Spree::Product preorderable and available tomorrow should be available
rspec ./spec/acceptance/cart_page_spec.rb:38 # Cart page
In order to select store items for purchase
As a customer
I can manage the contents of my shopping cart
From the cart page Change the quantity of an item in my cart
rspec ./spec/acceptance/cart_page_spec.rb:50 # Cart page
In order to select store items for purchase
As a customer
I can manage the contents of my shopping cart
From the cart page Remove an item from my cart
rspec ./spec/acceptance/cart_page_spec.rb:58 # Cart page
In order to select store items for purchase
As a customer
I can manage the contents of my shopping cart
From the cart page Apply a coupon code to my cart
rspec ./spec/acceptance/cart_page_spec.rb:18 # Cart page
In order to select store items for purchase
As a customer
I can manage the contents of my shopping cart
Reaching the cart from the header navigation
rspec ./spec/routing/api/gift_card_service_spec.rb:4 # api/gift_card_service routes POST request
rspec ./spec/models/spree/order_spec.rb:86 # Spree::Order#weight with line-items returns the sum of the line-items' weights
rspec ./spec/models/spree/order_spec.rb:70 # Spree::Order#weight with no line-items returns zero
rspec ./spec/models/spree/order_spec.rb:16 # Spree::Order#finalize! should only send the cake notification for mondrian orders
rspec ./spec/models/spree/order_spec.rb:38 # Spree::Order#finalize! should send email notification for an order with a thiebaud cake
rspec ./spec/models/spree/order_spec.rb:21 # Spree::Order#finalize! should send email notification for an order with a mondrian cake
rspec ./spec/models/spree/order_spec.rb:11 # Spree::Order#finalize! should notify bakers when cake orders come in
rspec ./spec/acceptance/catalog_page_spec.rb:10 # Product catalog
In order to select a product to buy
As a customer
I want to see the entire catalog
Navigate to the catalog page
rspec ./spec/acceptance/catalog_page_spec.rb:19 # Product catalog
In order to select a product to buy
As a customer
I want to see the entire catalog
View the product catalog
rspec ./spec/acceptance/catalog_page_spec.rb:25 # Product catalog
In order to select a product to buy
As a customer
I want to see the entire catalog
Use the product catalog's pagination
rspec ./spec/acceptance/catalog_page_spec.rb:53 # Product catalog
In order to select a product to buy
As a customer
I want to see the entire catalog
when filtering products applies a filter to the product grid
rspec ./spec/acceptance/catalog_page_spec.rb:71 # Product catalog
In order to select a product to buy
As a customer
I want to see the entire catalog
when filtering products clears applied filters
rspec ./spec/acceptance/catalog_page_spec.rb:62 # Product catalog
In order to select a product to buy
As a customer
I want to see the entire catalog
when filtering products applies a different filter to the product grid
rspec ./spec/acceptance/catalog_page_spec.rb:48 # Product catalog
In order to select a product to buy
As a customer
I want to see the entire catalog
when filtering products performs no filtering by default
Randomized with seed 11211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment