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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
804ae05c
Commit
804ae05c
authored
Mar 12, 2013
by
Andrew8xx8
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests improved
parent
23f8f13e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletion
+27
-1
features/dashboard/projects.feature
features/dashboard/projects.feature
+7
-1
features/steps/dashboard/dashboard_projects.rb
features/steps/dashboard/dashboard_projects.rb
+20
-0
No files found.
features/dashboard/projects.feature
View file @
804ae05c
...
...
@@ -4,5 +4,11 @@ Feature: Dashboard
And
I own project
"Shop"
And
I visit dashboard projects page
Scenario
:
I
should see
issue
s list
Scenario
:
I
should see
project
s list
Then
I should see projects list
Scenario
:
I
should see project I am looking for
Given
I search for
"Sho"
Then
I should see
"Shop"
project link
features/steps/dashboard/dashboard_projects.rb
0 → 100644
View file @
804ae05c
class
Dashboard
<
Spinach
::
FeatureSteps
include
SharedAuthentication
include
SharedPaths
include
SharedProject
Then
'I should see projects list'
do
@user
.
authorized_projects
.
all
.
each
do
|
project
|
page
.
should
have_link
project
.
name_with_namespace
end
end
Given
'I search for "Sho"'
do
fill_in
"dashboard_projects_search"
,
with:
"Sho"
click_button
"Search"
end
Then
'I should see "Shop" project link'
do
page
.
should
have_link
"Shop"
end
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