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:
authorRobert Speicher <rspeicher@gmail.com>2017-01-27 01:44:58 +0300
committerRobert Speicher <rspeicher@gmail.com>2017-01-27 01:44:59 +0300
commitfcb37542e746d69f20094e2918e498564bbcd863 (patch)
treef275f062ac4df997a54f5cbbefa4b4104eb7e6ad /spec/support/cycle_analytics_helpers
parentf27721e842b608f4a63bd0bc59ce77175ae530ca (diff)
Use `:empty_project` where possible in model specs
Diffstat (limited to 'spec/support/cycle_analytics_helpers')
-rw-r--r--spec/support/cycle_analytics_helpers/test_generation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/cycle_analytics_helpers/test_generation.rb b/spec/support/cycle_analytics_helpers/test_generation.rb
index 35b40d73191..10b90b40ba7 100644
--- a/spec/support/cycle_analytics_helpers/test_generation.rb
+++ b/spec/support/cycle_analytics_helpers/test_generation.rb
@@ -54,7 +54,7 @@ module CycleAnalyticsHelpers
end
context "when the data belongs to another project" do
- let(:other_project) { create(:project) }
+ let(:other_project) { create(:project, :repository) }
it "returns nil" do
# Use a stub to "trick" the data/condition functions