summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-13 02:21:11 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-30 23:55:08 +0900
commitbd7d7759d6e7f98d2d306495a8de5be44590b490 (patch)
tree9959608faafd902c31e8d32f661c5b60b96c7305
parentfbb070646aeccab5e46f300d130c20fa5a0a22fa (diff)
downloadgitlab-ce-bd7d7759d6e7f98d2d306495a8de5be44590b490.tar.gz
Use 'set' to top-level variables. Remove repository.
-rw-r--r--spec/requests/api/pipeline_schedules_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/requests/api/pipeline_schedules_spec.rb b/spec/requests/api/pipeline_schedules_spec.rb
index bf61c9de14d..9b8a96a8dc1 100644
--- a/spec/requests/api/pipeline_schedules_spec.rb
+++ b/spec/requests/api/pipeline_schedules_spec.rb
@@ -1,9 +1,9 @@
require 'spec_helper'
describe API::PipelineSchedules do
- let(:developer) { create(:user) }
- let(:user) { create(:user) }
- let!(:project) { create(:project, :repository) }
+ set(:developer) { create(:user) }
+ set(:user) { create(:user) }
+ set(:project) { create(:project) }
before do
project.add_developer(developer)