Add and apply LineContinuationSpacing rubocop rule
So now we're consistent when separating multiline strings.
This commit is contained in:
@@ -40,7 +40,7 @@ describe "Machine learning" do
|
||||
|
||||
visit admin_machine_learning_path
|
||||
|
||||
expect(page).to have_content "This feature is disabled. To use Machine Learning you can enable it from "\
|
||||
expect(page).to have_content "This feature is disabled. To use Machine Learning you can enable it from " \
|
||||
"the settings page"
|
||||
expect(page).to have_link "settings page", href: admin_settings_path(anchor: "tab-feature-flags")
|
||||
end
|
||||
@@ -56,7 +56,7 @@ describe "Machine learning" do
|
||||
click_button "Execute script"
|
||||
|
||||
expect(page).to have_content "The last script has been executed successfully."
|
||||
expect(page).to have_content "You will receive an email in #{admin.email} when the script "\
|
||||
expect(page).to have_content "You will receive an email in #{admin.email} when the script " \
|
||||
"finishes running."
|
||||
|
||||
expect(page).to have_field "Select python script to execute"
|
||||
@@ -71,11 +71,11 @@ describe "Machine learning" do
|
||||
end
|
||||
|
||||
expect(page).to have_content "Related content"
|
||||
expect(page).to have_content "Adds automatically generated related content to proposals and "\
|
||||
expect(page).to have_content "Adds automatically generated related content to proposals and " \
|
||||
"participatory budget projects"
|
||||
|
||||
expect(page).to have_content "Comments summary"
|
||||
expect(page).to have_content "Displays an automatically generated comment summary on all items that "\
|
||||
expect(page).to have_content "Displays an automatically generated comment summary on all items that " \
|
||||
"can be commented on."
|
||||
|
||||
expect(page).to have_content "Tags"
|
||||
@@ -94,7 +94,7 @@ describe "Machine learning" do
|
||||
select "proposals_related_content_and_tags_nmf.py", from: "Select python script to execute"
|
||||
click_button "Execute script"
|
||||
|
||||
expect(page).to have_content "The script is running. The administrator who executed it will receive "\
|
||||
expect(page).to have_content "The script is running. The administrator who executed it will receive " \
|
||||
"an email when it is finished."
|
||||
|
||||
expect(page).to have_content "Executed by: #{admin.name}"
|
||||
@@ -139,7 +139,7 @@ describe "Machine learning" do
|
||||
expect(page).to have_content "Script name: proposals_related_content_and_tags_nmf.py"
|
||||
expect(page).to have_content "Error: Error description"
|
||||
|
||||
expect(page).to have_content "You will receive an email in #{admin.email} when the script "\
|
||||
expect(page).to have_content "You will receive an email in #{admin.email} when the script " \
|
||||
"finishes running."
|
||||
|
||||
expect(page).to have_field "Select python script to execute"
|
||||
|
||||
Reference in New Issue
Block a user