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:
authorramyaa <ramya@freshdesk.com>2018-06-20 15:15:02 +0300
committerramyaa <ramya@freshdesk.com>2018-06-20 15:15:02 +0300
commit78798e1fc008b81bf234be9da5758dd3c4af3f5b (patch)
tree9ca67521c02b38d233a9ca52371e6869a3b0885e
parente442acffc4b9ea279264e4dbcf26e1cf338fd9c0 (diff)
Fixing the product: output error
-rw-r--r--qa/qa/factory/repository/project_push.rb4
-rw-r--r--qa/qa/factory/repository/push.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/qa/qa/factory/repository/project_push.rb b/qa/qa/factory/repository/project_push.rb
index 955c1f0e4da..48674c08a8d 100644
--- a/qa/qa/factory/repository/project_push.rb
+++ b/qa/qa/factory/repository/project_push.rb
@@ -7,6 +7,10 @@ module QA
project.description = 'Project with repository'
end
+ product :output do |factory|
+ factory.output
+ end
+
def initialize
@file_name = 'file.txt'
@file_content = '# This is test project'
diff --git a/qa/qa/factory/repository/push.rb b/qa/qa/factory/repository/push.rb
index 9dce3a67af7..4f97e65b091 100644
--- a/qa/qa/factory/repository/push.rb
+++ b/qa/qa/factory/repository/push.rb
@@ -9,10 +9,6 @@ module QA
attr_writer :remote_branch
- product :output do |factory|
- factory.output
- end
-
def initialize
@file_name = 'file.txt'
@file_content = '# This is test file'