Commit 8827c482 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'bvl-workaround-7144' into 'master'

Create a user instead of stubbing one

See merge request gitlab-org/gitlab-ee!6823
parents 41edd1e3 7b33deb4
......@@ -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