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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
22932188
Commit
22932188
authored
May 22, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unify spec/features/projects/show/developer_views_empty_project_instructions_spec.rb
parent
999e2e07
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
12 deletions
+24
-12
ee/spec/features/projects/show/developer_views_empty_project_instructions_spec.rb
...s/show/developer_views_empty_project_instructions_spec.rb
+24
-0
spec/features/projects/show/developer_views_empty_project_instructions_spec.rb
...s/show/developer_views_empty_project_instructions_spec.rb
+0
-12
No files found.
ee/spec/features/projects/show/developer_views_empty_project_instructions_spec.rb
0 → 100644
View file @
22932188
require
'rails_helper'
feature
'Projects > Show > Developer views empty project instructions'
do
let
(
:project
)
{
create
(
:project
,
:empty_repo
)
}
let
(
:developer
)
{
create
(
:user
)
}
background
do
project
.
add_developer
(
developer
)
sign_in
(
developer
)
end
context
'with Kerberos enabled'
do
background
do
allow
(
Gitlab
.
config
.
kerberos
).
to
receive
(
:enabled
).
and_return
(
true
)
end
scenario
'defaults to KRB5'
do
visit
project_path
(
project
)
expect
(
page
).
to
have_content
(
"git clone
#{
project
.
kerberos_url_to_repo
}
"
)
end
end
end
spec/features/projects/show/developer_views_empty_project_instructions_spec.rb
View file @
22932188
...
...
@@ -46,18 +46,6 @@ feature 'Projects > Show > Developer views empty project instructions' do
end
end
context
'with Kerberos enabled'
do
background
do
allow
(
Gitlab
.
config
.
kerberos
).
to
receive
(
:enabled
).
and_return
(
true
)
end
scenario
'defaults to KRB5'
do
visit_project
expect_instructions_for
(
'kerberos'
)
end
end
def
visit_project
visit
project_path
(
project
)
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