Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
5b5912f9
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5b5912f9
编写于
9月 30, 2014
作者:
R
Robert Schilling
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #7889 from cirosantilli/rm-def-project
Remove def project from tests that inherit it.
上级
efcac2be
a92f48f6
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
0 addition
and
24 deletion
+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
未找到文件。
features/steps/dashboard/dashboard.rb
浏览文件 @
5b5912f9
...
...
@@ -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
浏览文件 @
5b5912f9
...
...
@@ -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
浏览文件 @
5b5912f9
...
...
@@ -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
浏览文件 @
5b5912f9
...
...
@@ -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
浏览文件 @
5b5912f9
...
...
@@ -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
浏览文件 @
5b5912f9
...
...
@@ -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
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录