Commit 5360ef2c authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent e8cf89fa
......@@ -895,7 +895,7 @@ describe User, models: true do
let(:project) { create(:project) }
def add_user access
Member.add_user(project.project_members, user, access)
project.team << [user, access]
end
it_behaves_like :member
......
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