Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
venshop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huanvl
venshop
Commits
14ccbf2f
Commit
14ccbf2f
authored
Nov 04, 2013
by
vulehuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rspec: card - step 2: click continue with invalid infos - email address format
parent
9cf0d7e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
venshop_app/spec/requests/card_pages_spec.rb
+8
-0
No files found.
venshop_app/spec/requests/card_pages_spec.rb
View file @
14ccbf2f
...
...
@@ -207,6 +207,14 @@ describe "CardPages" do
end
describe
"when email is not valid"
do
before
do
visit
url_for
(
controller:
'cards'
,
action:
'checkout'
)
fill_in_order_form
()
fill_in
"Email"
,
with:
"abc"
click_button
"Continue"
end
it
{
should
have_selector
(
'.alert.alert-error'
,
text:
'Invalid email address'
)
}
end
describe
"when phone is not present"
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment