Commit 0f9f5e82 authored by Dylan Griffith's avatar Dylan Griffith

Fix spec/models/user_spec.rb for #ci_authorized_runners

parent 85e04cde
...@@ -1897,7 +1897,7 @@ describe User do ...@@ -1897,7 +1897,7 @@ describe User do
let(:group) { create(:group) } let(:group) { create(:group) }
let(:another_user) { create(:user) } let(:another_user) { create(:user) }
let(:subgroup) { create(:group, parent: group) } let(:subgroup) { create(:group, parent: group) }
let(:project) { create(:project, group: subgroup) } let!(:project) { create(:project, group: subgroup, runners: [runner_1]) }
def add_user(access) def add_user(access)
group.add_user(user, access) group.add_user(user, access)
......
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