Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.1 on 2022-01-26 at 16:00 UTC+1 (a few minutes of down time)

Commit c6aed2df authored by James Lopez's avatar James Lopez
Browse files

update spec

parent a70011f33861
......@@ -103,11 +103,7 @@
end
before do
GroupMember.add_users_to_group(
group,
[user, user2],
GroupMember::DEVELOPER
)
group.add_users([user, user2], GroupMember::DEVELOPER)
end
it 'maps the project member' do
......@@ -115,7 +111,7 @@
end
it 'maps the project member if it already exists' do
ProjectMember.create!(user: user2, access_level: ProjectMember::MASTER, source_id: project.id)
project.add_master(user2)
expect(members_mapper.map[exported_user_id]).to eq(user2.id)
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