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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
fce22dfa
Commit
fce22dfa
authored
Mar 12, 2013
by
Andrew8xx8
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests for dashboard projects fixed
parent
804ae05c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
features/dashboard/projects.feature
features/dashboard/projects.feature
+3
-5
features/steps/dashboard/dashboard_projects.rb
features/steps/dashboard/dashboard_projects.rb
+4
-1
features/steps/shared/project.rb
features/steps/shared/project.rb
+2
-1
No files found.
features/dashboard/projects.feature
View file @
fce22dfa
Feature
:
Dashboard
Feature
:
Dashboard
projects
Background
:
Given
I sign in as a user
And
I own project
"Shop"
...
...
@@ -10,5 +10,3 @@ Feature: Dashboard
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
View file @
fce22dfa
...
...
@@ -11,7 +11,10 @@ class Dashboard < Spinach::FeatureSteps
Given
'I search for "Sho"'
do
fill_in
"dashboard_projects_search"
,
with:
"Sho"
click_button
"Search"
within
".dashboard-search-filter"
do
find
(
'button'
).
click
end
end
Then
'I should see "Shop" project link'
do
...
...
features/steps/shared/project.rb
View file @
fce22dfa
...
...
@@ -9,7 +9,8 @@ module SharedProject
# Create a specific project called "Shop"
And
'I own project "Shop"'
do
@project
=
create
(
:project
,
name:
"Shop"
)
@project
=
Project
.
find_by_name
"Shop"
@project
||=
create
(
:project
,
name:
"Shop"
)
@project
.
team
<<
[
@user
,
:master
]
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