diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-07 21:08:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-07 21:08:08 +0300 |
commit | 59f37a99433dbdc3093e06f0f57beff171bae5d4 (patch) | |
tree | 61f7e6c66fd79fda1ec46b223225012241eff3e7 /spec/serializers/remote_mirror_entity_spec.rb | |
parent | fa4473a48706d074217f4ffc8d183cf630af1833 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers/remote_mirror_entity_spec.rb')
-rw-r--r-- | spec/serializers/remote_mirror_entity_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/serializers/remote_mirror_entity_spec.rb b/spec/serializers/remote_mirror_entity_spec.rb index 4cbf87e4d67..c6290e15995 100644 --- a/spec/serializers/remote_mirror_entity_spec.rb +++ b/spec/serializers/remote_mirror_entity_spec.rb @@ -3,8 +3,7 @@ require 'spec_helper' RSpec.describe RemoteMirrorEntity do - let(:project) { create(:project, :repository, :remote_mirror, url: "https://test:password@gitlab.com") } - let(:remote_mirror) { project.remote_mirrors.first } + let(:remote_mirror) { build_stubbed(:remote_mirror, url: "https://test:password@gitlab.com") } let(:entity) { described_class.new(remote_mirror) } subject { entity.as_json } |