提交 5360ef2c 编写于 作者: L Lin Jen-Shin
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册