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
46fb7e00
Commit
46fb7e00
authored
Mar 07, 2018
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failure in ee/spec/services/ci_cd/github_setup_service_spec.rb
parent
731003b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
ee/spec/services/ci_cd/github_setup_service_spec.rb
ee/spec/services/ci_cd/github_setup_service_spec.rb
+9
-1
No files found.
ee/spec/services/ci_cd/github_setup_service_spec.rb
View file @
46fb7e00
require
'spec_helper'
describe
CiCd
::
GithubSetupService
do
let
(
:project
)
{
create
(
:project
)
}
let
(
:repo_full_name
)
{
"MyUser/my-project"
}
let
(
:api_token
)
{
"abcdefghijk123"
}
let
(
:import_url
)
{
"https://
#{
api_token
}
@github.com/
#{
repo_full_name
}
.git"
}
let
(
:credentials
)
{
{
user:
api_token
}
}
let
(
:project
)
do
create
(
:project
,
import_source:
repo_full_name
,
import_url:
import_url
,
import_data_attributes:
{
credentials:
credentials
}
)
end
subject
do
described_class
.
new
(
project
)
...
...
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