Commit e923fffe authored by Rémy Coutable's avatar Rémy Coutable

[QA] Fix wrong calls to Factory::Repository::Push -> Factory::Repository::ProjectPush

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 14a11461
......@@ -13,7 +13,7 @@ module QA
geo_project_name = project.name
expect(project.name).to include 'geo-before-rename'
Factory::Repository::Push.fabricate! do |push|
Factory::Repository::ProjectPush.fabricate! do |push|
push.project = project
push.file_name = 'README.md'
push.file_content = '# This is Geo project!'
......
......@@ -12,7 +12,7 @@ module QA
geo_project_name = Page::Project::Show.act { project_name }
expect(geo_project_name).to include 'geo-project'
Factory::Repository::Push.fabricate! do |push|
Factory::Repository::ProjectPush.fabricate! do |push|
push.file_name = 'README.md'
push.file_content = '# This is Geo project!'
push.commit_message = 'Add README.md'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment