diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-13 02:21:11 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-30 23:55:08 +0900 |
commit | bd7d7759d6e7f98d2d306495a8de5be44590b490 (patch) | |
tree | 9959608faafd902c31e8d32f661c5b60b96c7305 | |
parent | fbb070646aeccab5e46f300d130c20fa5a0a22fa (diff) | |
download | gitlab-ce-bd7d7759d6e7f98d2d306495a8de5be44590b490.tar.gz |
Use 'set' to top-level variables. Remove repository.
-rw-r--r-- | spec/requests/api/pipeline_schedules_spec.rb | 6 |
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) |