diff options
author | Robert Speicher <robert@gitlab.com> | 2016-10-02 14:33:06 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-10-02 14:33:06 +0300 |
commit | 076e0406390cb03ade887723bceb3a6bb9613986 (patch) | |
tree | ba47bc00ee3a1de6b76a80527c7dc306684e10d2 /spec/helpers | |
parent | c9352aa6e388293784f50ecd26892f1780522256 (diff) | |
parent | 76232d541baebb25ca3536364e27b379e5356460 (diff) |
Merge branch 'rc-new-members-request-access-service' into 'master'
New `Members::RequestAccessService`
Part of #21979.
See merge request !6265
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) } |