Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2016-11-16 22:19:22 +0300
committerNick Thomas <nick@gitlab.com>2016-11-16 22:19:22 +0300
commit606afe2e81188b3556350e29ade7270536a6f58a (patch)
treeb38a14cbc3a8f47e19a77494290d04bb2cd58727 /spec/models/user_spec.rb
parent2e1fe59e373e4be404b19f4de3c8f44bb07fe91f (diff)
Fix some failing specs due to missing access_requestable trait
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r--spec/models/user_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index 3159243553b..580ce4a9e0a 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -491,7 +491,7 @@ describe User, models: true do
end
describe '.without_projects' do
- let!(:project) { create(:empty_project, :public) }
+ let!(:project) { create(:empty_project, :public, :access_requestable) }
let!(:user) { create(:user) }
let!(:user_without_project) { create(:user) }
let!(:user_without_project2) { create(:user) }