summaryrefslogtreecommitdiff
path: root/qa/qa/factory/resource/file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/factory/resource/file.rb')
-rw-r--r--qa/qa/factory/resource/file.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/qa/qa/factory/resource/file.rb b/qa/qa/factory/resource/file.rb
index 2016d10ddae..f8dea06d361 100644
--- a/qa/qa/factory/resource/file.rb
+++ b/qa/qa/factory/resource/file.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module QA
module Factory
module Resource
@@ -19,7 +21,7 @@ module QA
def fabricate!
project.visit!
- Page::Project::Show.act { go_to_new_file! }
+ Page::Project::Show.act { create_new_file! }
Page::File::Form.perform do |page|
page.add_name(@name)