diff options
author | Rémy Coutable <remy@rymai.me> | 2016-09-09 18:09:43 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-09-22 12:12:17 +0300 |
commit | 178e2758f685ee124c06d2ce8961950a4d39f013 (patch) | |
tree | f2dc7ce9dd05e96fa4c659a7d9927c1db9706495 /spec/helpers | |
parent | 6b02127f03b1f8e1dbbecccfc2ba16e62aadcbed (diff) |
Fix specs that requires an access request
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/members_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/members_helper_spec.rb b/spec/helpers/members_helper_spec.rb index 7998209b7b0..6703d88e357 100644 --- a/spec/helpers/members_helper_spec.rb +++ b/spec/helpers/members_helper_spec.rb @@ -11,7 +11,7 @@ describe MembersHelper do describe '#remove_member_message' do let(:requester) { build(:user) } - let(:project) { create(:project) } + let(:project) { create(:empty_project, :public) } let(:project_member) { build(:project_member, project: project) } let(:project_member_invite) { build(:project_member, project: project).tap { |m| m.generate_invite_token! } } let(:project_member_request) { project.request_access(requester) } @@ -32,7 +32,7 @@ describe MembersHelper do describe '#remove_member_title' do let(:requester) { build(:user) } - let(:project) { create(:project) } + let(:project) { create(:empty_project, :public) } let(:project_member) { build(:project_member, project: project) } let(:project_member_request) { project.request_access(requester) } let(:group) { create(:group) } |