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
Léo-Paul Géneau
gitlab-ce
Commits
3cf814ff
Commit
3cf814ff
authored
Feb 25, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove duplicate finder in features/steps/path
parent
c3659ef2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
features/steps/shared/paths.rb
features/steps/shared/paths.rb
+9
-9
No files found.
features/steps/shared/paths.rb
View file @
3cf814ff
...
@@ -173,12 +173,10 @@ module SharedPaths
...
@@ -173,12 +173,10 @@ module SharedPaths
# ----------------------------------------
# ----------------------------------------
And
'I visit project "Shop" page'
do
And
'I visit project "Shop" page'
do
project
=
Project
.
find_by_name
(
"Shop"
)
visit
project_path
(
project
)
visit
project_path
(
project
)
end
end
When
'I visit edit project "Shop" page'
do
When
'I visit edit project "Shop" page'
do
project
=
Project
.
find_by_name
(
"Shop"
)
visit
edit_project_path
(
project
)
visit
edit_project_path
(
project
)
end
end
...
@@ -219,7 +217,7 @@ module SharedPaths
...
@@ -219,7 +217,7 @@ module SharedPaths
end
end
And
'I visit project "Shop" issues page'
do
And
'I visit project "Shop" issues page'
do
visit
project_issues_path
(
Project
.
find_by_name
(
"Shop"
)
)
visit
project_issues_path
(
project
)
end
end
Given
'I visit issue page "Release 0.4"'
do
Given
'I visit issue page "Release 0.4"'
do
...
@@ -228,7 +226,7 @@ module SharedPaths
...
@@ -228,7 +226,7 @@ module SharedPaths
end
end
Given
'I visit project "Shop" labels page'
do
Given
'I visit project "Shop" labels page'
do
visit
project_labels_path
(
Project
.
find_by_name
(
"Shop"
)
)
visit
project_labels_path
(
project
)
end
end
Given
'I visit merge request page "Bug NS-04"'
do
Given
'I visit merge request page "Bug NS-04"'
do
...
@@ -242,20 +240,18 @@ module SharedPaths
...
@@ -242,20 +240,18 @@ module SharedPaths
end
end
And
'I visit project "Shop" merge requests page'
do
And
'I visit project "Shop" merge requests page'
do
visit
project_merge_requests_path
(
Project
.
find_by_name
(
"Shop"
)
)
visit
project_merge_requests_path
(
project
)
end
end
Given
'I visit project "Shop" milestones page'
do
Given
'I visit project "Shop" milestones page'
do
@project
=
Project
.
find_by_name
(
"Shop"
)
visit
project_milestones_path
(
project
)
visit
project_milestones_path
(
@project
)
end
end
Then
'I visit project "Shop" team page'
do
Then
'I visit project "Shop" team page'
do
visit
project_team_index_path
(
Project
.
find_by_name
(
"Shop"
)
)
visit
project_team_index_path
(
project
)
end
end
Then
'I visit project "Shop" wall page'
do
Then
'I visit project "Shop" wall page'
do
project
=
Project
.
find_by_name
(
"Shop"
)
visit
wall_project_path
(
project
)
visit
wall_project_path
(
project
)
end
end
...
@@ -266,4 +262,8 @@ module SharedPaths
...
@@ -266,4 +262,8 @@ module SharedPaths
def
root_ref
def
root_ref
@project
.
repository
.
root_ref
@project
.
repository
.
root_ref
end
end
def
project
project
=
Project
.
find_by_name!
(
"Shop"
)
end
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