add splash screen for releaseME

This commit is contained in:
Bilal
2020-06-30 18:29:22 +02:00
parent e49498bbbf
commit f201580a01
9 changed files with 130 additions and 8 deletions

View File

@@ -13,8 +13,7 @@ feature "User imports release templates", type: :feature do
end
scenario "importing two existing templates into a project" do
visit project_contract_templates_path(project)
click_on "Import Release Template"
visit new_project_release_template_imports_path(project)
select_templates([project_one_template.id, project_two_template.id])
click_on "Import Selected Templates"
expect(page).to have_content("Selected templates were imported with success")
@@ -31,8 +30,7 @@ feature "User imports release templates", type: :feature do
end
scenario "searching for a template", js: true do
visit project_contract_templates_path(project)
click_on "Import Release Template"
visit new_project_release_template_imports_path(project)
fill_in "query", with: "Second"
click_on "search-button"
expect(page).not_to have_content("First Contract Template")