Add and apply LineContinuationSpacing rubocop rule
So now we're consistent when separating multiline strings.
This commit is contained in:
@@ -603,7 +603,7 @@ describe "Budget Investments" do
|
||||
fill_in_new_investment_title with: "Build a skyscraper"
|
||||
fill_in_ckeditor "Description", with: "I want to live in a high tower over the clouds"
|
||||
fill_in "Location additional info", with: "City center"
|
||||
fill_in "If you are proposing in the name of a collective/organization, "\
|
||||
fill_in "If you are proposing in the name of a collective/organization, " \
|
||||
"or on behalf of more people, write its name", with: "T.I.A."
|
||||
fill_in "Tags", with: "Towers"
|
||||
check "I agree to the Privacy Policy and the Terms and conditions of use"
|
||||
@@ -668,7 +668,7 @@ describe "Budget Investments" do
|
||||
fill_in_new_investment_title with: "Build a skyscraper"
|
||||
fill_in_ckeditor "Description", with: "I want to live in a high tower over the clouds"
|
||||
fill_in "Location additional info", with: "City center"
|
||||
fill_in "If you are proposing in the name of a collective/organization, "\
|
||||
fill_in "If you are proposing in the name of a collective/organization, " \
|
||||
"or on behalf of more people, write its name", with: "T.I.A."
|
||||
fill_in "Tags", with: "Towers"
|
||||
check "I agree to the Privacy Policy and the Terms and conditions of use"
|
||||
@@ -1000,14 +1000,14 @@ describe "Budget Investments" do
|
||||
|
||||
expect(page).not_to have_content("Unfeasibility explanation")
|
||||
expect(page).not_to have_content("Local government is not competent in this")
|
||||
expect(page).not_to have_content("This investment project has been marked as not feasible "\
|
||||
expect(page).not_to have_content("This investment project has been marked as not feasible " \
|
||||
"and will not go to balloting phase")
|
||||
|
||||
visit budget_investment_path(budget, id: investment_2.id)
|
||||
|
||||
expect(page).to have_content("Unfeasibility explanation")
|
||||
expect(page).to have_content("The unfeasible explanation")
|
||||
expect(page).to have_content("This investment project has been marked as not feasible "\
|
||||
expect(page).to have_content("This investment project has been marked as not feasible " \
|
||||
"and will not go to balloting phase")
|
||||
end
|
||||
|
||||
@@ -1472,7 +1472,7 @@ describe "Budget Investments" do
|
||||
|
||||
visit budget_ballot_path(budget)
|
||||
|
||||
expect(page).to have_content "But you can change your vote at any time "\
|
||||
expect(page).to have_content "But you can change your vote at any time " \
|
||||
"until this phase is closed."
|
||||
|
||||
within("#budget_group_#{global_group.id}") do
|
||||
|
||||
@@ -20,17 +20,17 @@ describe "Votes" do
|
||||
|
||||
within("#budget-investments") do
|
||||
within("#budget_investment_#{investment1.id}_votes") do
|
||||
expect(page).to have_content "You have already supported this investment project. "\
|
||||
expect(page).to have_content "You have already supported this investment project. " \
|
||||
"Share it!"
|
||||
end
|
||||
|
||||
within("#budget_investment_#{investment2.id}_votes") do
|
||||
expect(page).not_to have_content "You have already supported this investment project. "\
|
||||
expect(page).not_to have_content "You have already supported this investment project. " \
|
||||
"Share it!"
|
||||
end
|
||||
|
||||
within("#budget_investment_#{investment3.id}_votes") do
|
||||
expect(page).not_to have_content "You have already supported this investment project. "\
|
||||
expect(page).not_to have_content "You have already supported this investment project. " \
|
||||
"Share it!"
|
||||
end
|
||||
end
|
||||
@@ -45,7 +45,7 @@ describe "Votes" do
|
||||
click_button "Support"
|
||||
|
||||
expect(page).to have_content "1 support"
|
||||
expect(page).to have_content "You have already supported this investment project. "\
|
||||
expect(page).to have_content "You have already supported this investment project. " \
|
||||
"Share it!"
|
||||
end
|
||||
end
|
||||
@@ -77,7 +77,7 @@ describe "Votes" do
|
||||
click_button "Support"
|
||||
|
||||
expect(page).to have_content "1 support"
|
||||
expect(page).to have_content "You have already supported this investment project. "\
|
||||
expect(page).to have_content "You have already supported this investment project. " \
|
||||
"Share it!"
|
||||
end
|
||||
end
|
||||
@@ -123,7 +123,7 @@ describe "Votes" do
|
||||
accept_confirm { click_button "Support" }
|
||||
|
||||
expect(page).to have_content "1 support"
|
||||
expect(page).to have_content "You have already supported this investment project. "\
|
||||
expect(page).to have_content "You have already supported this investment project. " \
|
||||
"Share it!"
|
||||
end
|
||||
|
||||
@@ -135,7 +135,7 @@ describe "Votes" do
|
||||
click_button "Support"
|
||||
|
||||
expect(page).to have_content "1 support"
|
||||
expect(page).to have_content "You have already supported this investment project. "\
|
||||
expect(page).to have_content "You have already supported this investment project. " \
|
||||
"Share it!"
|
||||
end
|
||||
|
||||
@@ -144,7 +144,7 @@ describe "Votes" do
|
||||
within("#budget_investment_#{third_heading_investment.id}") do
|
||||
click_button "Support"
|
||||
|
||||
expect(page).to have_content "You can only support investment projects in 2 districts. "\
|
||||
expect(page).to have_content "You can only support investment projects in 2 districts. " \
|
||||
"You have already supported investments in"
|
||||
|
||||
participation = find(".participation-not-allowed")
|
||||
@@ -154,7 +154,7 @@ describe "Votes" do
|
||||
expect(headings).to match_array [new_york.name, san_francisco.name]
|
||||
|
||||
expect(page).not_to have_content "1 support"
|
||||
expect(page).not_to have_content "You have already supported this investment project. "\
|
||||
expect(page).not_to have_content "You have already supported this investment project. " \
|
||||
"Share it!"
|
||||
end
|
||||
end
|
||||
@@ -178,7 +178,7 @@ describe "Votes" do
|
||||
|
||||
click_button "Support"
|
||||
|
||||
expect(page).to have_content "You can only support investment projects in 2 districts. "\
|
||||
expect(page).to have_content "You can only support investment projects in 2 districts. " \
|
||||
"You have already supported investments in"
|
||||
|
||||
participation = find(".participation-not-allowed")
|
||||
@@ -188,7 +188,7 @@ describe "Votes" do
|
||||
expect(headings).to match_array [new_york.name, san_francisco.name]
|
||||
|
||||
expect(page).not_to have_content "1 support"
|
||||
expect(page).not_to have_content "You have already supported this investment project. "\
|
||||
expect(page).not_to have_content "You have already supported this investment project. " \
|
||||
"Share it!"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user