Commit 1632b53f by vulehuan

rspec: card - step 1, click check out

parent 476f0511
...@@ -133,6 +133,13 @@ describe "CardPages" do ...@@ -133,6 +133,13 @@ describe "CardPages" do
end end
describe "when click checkout" do describe "when click checkout" do
before do
visit cards_path
click_link "Check out"
end
it { should have_title(full_title('Check out')) }
it { should_not have_selector('.table input') }
end end
describe "when click product name" do describe "when click product name" do
......
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