count against last project
This commit is contained in:
parent
e3b1f62c6b
commit
94c5054566
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ describe Gitlab::API do
|
|||
expect {
|
||||
put api("/projects/#{project.code}/add_users", user),
|
||||
user_ids: [@user2.id, @user3.id], project_access: UsersProject::DEVELOPER
|
||||
}.to change {Project.users_projects.where(:project_access => UsersProject::DEVELOPER).count}.by(2)
|
||||
}.to change {Project.last.users_projects.where(:project_access => UsersProject::DEVELOPER).count}.by(2)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue