diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-03-18 21:04:53 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-03-18 21:04:53 -0300 |
commit | 8b830b8c3b32774e8ccf562b8bc9dbce3ecf3073 (patch) | |
tree | 7898541a9362cc62f738ebc1812d022d422fe841 /spec/finders | |
parent | b959ae553b1243e081d557b1e545d30830931e5b (diff) | |
download | gitlab-ce-8b830b8c3b32774e8ccf562b8bc9dbce3ecf3073.tar.gz |
Fix specs
Diffstat (limited to 'spec/finders')
-rw-r--r-- | spec/finders/projects_finder_spec.rb | 2 | ||||
-rw-r--r-- | spec/finders/snippets_finder_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/finders/projects_finder_spec.rb b/spec/finders/projects_finder_spec.rb index fae0da9d898..194c9543772 100644 --- a/spec/finders/projects_finder_spec.rb +++ b/spec/finders/projects_finder_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe ProjectsFinder do describe '#execute' do let(:user) { create(:user) } - let(:group) { create(:group) } + let(:group) { create(:group, visibility_level: Gitlab::VisibilityLevel::PUBLIC) } let!(:private_project) do create(:project, :private, name: 'A', path: 'A') diff --git a/spec/finders/snippets_finder_spec.rb b/spec/finders/snippets_finder_spec.rb index 7fdc5e5d7aa..b8940483dfb 100644 --- a/spec/finders/snippets_finder_spec.rb +++ b/spec/finders/snippets_finder_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe SnippetsFinder do let(:user) { create :user } let(:user1) { create :user } - let(:group) { create :group } + let(:group) { create :group, visibility_level: Gitlab::VisibilityLevel::PUBLIC } let(:project1) { create(:empty_project, :public, group: group) } let(:project2) { create(:empty_project, :private, group: group) } |