Commit 46fb7e00 authored by Douwe Maan's avatar Douwe Maan

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

parent 731003b1
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)
......
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