Commit 89d66f64 by vulehuan

rspec: card - Skeleton

parent cad828e0
require 'spec_helper'
describe "Cards Page" do
describe "step 1" do
describe "when update quantity" do
describe "with invalid information" do
describe "when quantity is not a number" do
end
describe "when quantity < 0" do
end
describe "when quantity = 0" do
end
end
describe "with valid information" do
end
end
describe "when remove a product" do
describe "when product is not exist in card" do
end
describe "when product exist in card" do
end
end
describe "when click checkout" do
end
describe "when click product name" do
end
describe "calculate price" do
end
end
describe "step 2" do
describe "when not pass step 1" do
end
describe "when click Continue" do
describe "with invalid information" do
describe "when fullname is not present" do
end
describe "when email is not present" do
end
describe "when email is not valid" do
end
describe "when phone is not present" do
end
describe "when address is not present" do
end
end
describe "with valid information" do
end
end
describe "when click Back" do
end
describe "when click product name" do
end
describe "calculate price" do
end
end
describe "step 3" do
describe "when not pass step 1 and step 2" do
end
describe "when click product name" do
end
describe "when click Back" do
end
describe "when click Checkout" do
end
describe "calculate price" do
end
end
describe "step 4" do
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment