diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-19 16:44:08 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-19 16:44:08 +0400 |
commit | 587e16a4e3d171cfcf477388ca1e5c8c95c8c018 (patch) | |
tree | 8a65347aa96d0211a804c610b622ef9f22e00671 /spec/features/security/group/mixed_group_access_spec.rb | |
parent | 1921a934a9373884133eb3859efa250794b0ea92 (diff) | |
parent | 1897fb00b8d804cffa40da074f83575489beddb0 (diff) |
Merge pull request #6560 from tsigo/visibility-traits
Visibility traits for Project Factory
Diffstat (limited to 'spec/features/security/group/mixed_group_access_spec.rb')
-rw-r--r-- | spec/features/security/group/mixed_group_access_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/security/group/mixed_group_access_spec.rb b/spec/features/security/group/mixed_group_access_spec.rb index 82e816e388a..028cd32d2bb 100644 --- a/spec/features/security/group/mixed_group_access_spec.rb +++ b/spec/features/security/group/mixed_group_access_spec.rb @@ -16,8 +16,8 @@ describe "Group access" do group.add_user(reporter, Gitlab::Access::REPORTER) group.add_user(guest, Gitlab::Access::GUEST) - create(:project, path: "internal_project", group: group, visibility_level: Gitlab::VisibilityLevel::INTERNAL) - create(:project, path: "public_project", group: group, visibility_level: Gitlab::VisibilityLevel::PUBLIC) + create(:project, :internal, path: "internal_project", group: group) + create(:project, :public, path: "public_project", group: group) end describe "GET /groups/:path" do |