diff options
author | ramyaa <ramya@freshdesk.com> | 2018-06-20 15:15:02 +0300 |
---|---|---|
committer | ramyaa <ramya@freshdesk.com> | 2018-06-20 15:15:02 +0300 |
commit | 78798e1fc008b81bf234be9da5758dd3c4af3f5b (patch) | |
tree | 9ca67521c02b38d233a9ca52371e6869a3b0885e | |
parent | e442acffc4b9ea279264e4dbcf26e1cf338fd9c0 (diff) |
Fixing the product: output error
-rw-r--r-- | qa/qa/factory/repository/project_push.rb | 4 | ||||
-rw-r--r-- | qa/qa/factory/repository/push.rb | 4 |
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' |