Commit 9286c12e authored by Stan Hu's avatar Stan Hu

Merge branch 'dm-fix-github-setup-service-spec' into 'master'

Fix failure in ee/spec/services/ci_cd/github_setup_service_spec.rb

See merge request gitlab-org/gitlab-ee!4890
parents 306497ea 46fb7e00
require 'spec_helper' require 'spec_helper'
describe CiCd::GithubSetupService do 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 subject do
described_class.new(project) described_class.new(project)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment