Commit 7b33deb4 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Create a user instead of stubbing one

To workaround https://gitlab.com/gitlab-org/gitlab-ee/issues/7144
parent 8bda1cce
......@@ -198,7 +198,7 @@ describe Projects::UpdateMirrorService do
it "fails" do
stub_fetch_mirror(project)
result = described_class.new(project, build_stubbed(:user)).execute
result = described_class.new(project, create(:user)).execute
expect(result[:status]).to eq(:error)
end
......
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