Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2d0fcb4d
Commit
2d0fcb4d
authored
Oct 14, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spinach tests introduced by
07101cfa
parent
6c1faf4b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
features/dashboard/new_project.feature
features/dashboard/new_project.feature
+5
-5
features/steps/dashboard/new_project.rb
features/steps/dashboard/new_project.rb
+3
-3
No files found.
features/dashboard/new_project.feature
View file @
2d0fcb4d
...
...
@@ -7,24 +7,24 @@ Background:
And
I click
"New project"
link
@javascript
Scenario
:
I
should see New
p
rojects page
Then
I see
"New
p
roject"
page
Scenario
:
I
should see New
P
rojects page
Then
I see
"New
P
roject"
page
Then
I see all possible import optios
@javascript
Scenario
:
I
should see instructions on how to import from Git URL
Given
I see
"New
p
roject"
page
Given
I see
"New
P
roject"
page
When
I click on
"Any repo by URL"
Then
I see instructions on how to import from Git URL
@javascript
Scenario
:
I
should see instructions on how to import from GitHub
Given
I see
"New
p
roject"
page
Given
I see
"New
P
roject"
page
When
I click on
"Import project from GitHub"
Then
I see instructions on how to import from GitHub
@javascript
Scenario
:
I
should see Google Code import page
Given
I see
"New
p
roject"
page
Given
I see
"New
P
roject"
page
When
I click on
"Google Code"
Then
I redirected to Google Code import page
features/steps/dashboard/new_project.rb
View file @
2d0fcb4d
...
...
@@ -3,13 +3,13 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps
include
SharedPaths
include
SharedProject
step
'I click "New
p
roject" link'
do
step
'I click "New
P
roject" link'
do
page
.
within
(
'.content'
)
do
click_link
"New
p
roject"
click_link
"New
P
roject"
end
end
step
'I see "New
p
roject" page'
do
step
'I see "New
P
roject" page'
do
expect
(
page
).
to
have_content
(
'Project path'
)
end
...
...
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