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
Kazuhiko Shiozaki
gitlab-ce
Commits
a92f48f6
Commit
a92f48f6
authored
Sep 28, 2014
by
Ciro Santilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove def project from tests that inherit it.
parent
c2c41fb2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
24 deletions
+0
-24
features/steps/dashboard/dashboard.rb
features/steps/dashboard/dashboard.rb
+0
-4
features/steps/project/forked_merge_requests.rb
features/steps/project/forked_merge_requests.rb
+0
-4
features/steps/project/issues.rb
features/steps/project/issues.rb
+0
-4
features/steps/project/merge_requests.rb
features/steps/project/merge_requests.rb
+0
-4
features/steps/project/snippets.rb
features/steps/project/snippets.rb
+0
-4
features/steps/search.rb
features/steps/search.rb
+0
-4
No files found.
features/steps/dashboard/dashboard.rb
View file @
a92f48f6
...
...
@@ -82,8 +82,4 @@ class Spinach::Features::Dashboard < Spinach::FeatureSteps
step
'I should see 1 project at group list'
do
find
(
'span.last_activity/span'
).
should
have_content
(
'1'
)
end
def
project
@project
||=
Project
.
find_by
(
name:
"Shop"
)
end
end
features/steps/project/forked_merge_requests.rb
View file @
a92f48f6
...
...
@@ -128,10 +128,6 @@ class Spinach::Features::ProjectForkedMergeRequests < Spinach::FeatureSteps
page
.
should
have_select
(
"merge_request_target_project_id"
,
selected:
project
.
path_with_namespace
)
end
def
project
@project
||=
Project
.
find_by!
(
name:
"Shop"
)
end
# Verify a link is generated against the correct project
def
verify_commit_link
(
container_div
,
container_project
)
# This should force a wait for the javascript to execute
...
...
features/steps/project/issues.rb
View file @
a92f48f6
...
...
@@ -236,8 +236,4 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
# make sure AJAX request finished
URI
.
parse
(
current_url
).
request_uri
==
project_issues_path
(
project
,
issue_search:
text
)
end
def
project
@project
||=
Project
.
find_by
(
name:
'Shop'
)
end
end
features/steps/project/merge_requests.rb
View file @
a92f48f6
...
...
@@ -261,10 +261,6 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
end
end
def
project
@project
||=
Project
.
find_by!
(
name:
"Shop"
)
end
def
merge_request
@merge_request
||=
MergeRequest
.
find_by!
(
title:
"Bug NS-05"
)
end
...
...
features/steps/project/snippets.rb
View file @
a92f48f6
...
...
@@ -89,10 +89,6 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps
visit
project_snippet_path
(
project
,
project_snippet
)
end
def
project
@project
||=
Project
.
find_by!
(
name:
"Shop"
)
end
def
project_snippet
@project_snippet
||=
ProjectSnippet
.
find_by!
(
title:
"Snippet one"
)
end
...
...
features/steps/search.rb
View file @
a92f48f6
...
...
@@ -66,8 +66,4 @@ class Spinach::Features::Search < Spinach::FeatureSteps
step
'I should not see "Bar" link'
do
page
.
should_not
have_link
"Bar"
end
def
project
@project
||=
Project
.
find_by
(
name:
"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