Apply Layout/LineLength rubocop rule
Note we're excluding a few files: * Configuration files that weren't generated by us * Migration files that weren't generated by us * The Gemfile, since it includes an important comment that must be on the same line as the gem declaration * The Budget::Stats class, since the heading statistics are a mess and having shorter lines would require a lot of refactoring
This commit is contained in:
@@ -10,8 +10,10 @@ describe "Verify Letter" do
|
||||
|
||||
click_link "Send me a letter with the code"
|
||||
|
||||
expect(page).to have_content "Thank you for requesting your maximum security code (only required for the final votes). In a few days" \
|
||||
" we will send it to the address featuring in the data we have on file."
|
||||
expect(page).to have_content "Thank you for requesting your maximum security code " \
|
||||
"(only required for the final votes). In a few days " \
|
||||
"we will send it to the address featuring in the data " \
|
||||
"we have on file."
|
||||
|
||||
user.reload
|
||||
|
||||
|
||||
@@ -87,7 +87,9 @@ describe "Level three verification" do
|
||||
|
||||
click_link "Send me a letter with the code"
|
||||
|
||||
expect(page).to have_content "Thank you for requesting your maximum security code (only required for the final votes)." \
|
||||
" In a few days we will send it to the address featuring in the data we have on file."
|
||||
expect(page).to have_content "Thank you for requesting your maximum security code " \
|
||||
"(only required for the final votes). In a few days " \
|
||||
"we will send it to the address featuring in the data " \
|
||||
"we have on file."
|
||||
end
|
||||
end
|
||||
|
||||
@@ -41,7 +41,10 @@ describe "Verification path" do
|
||||
end
|
||||
|
||||
scenario "User received a verification sms" do
|
||||
user = create(:user, residence_verified_at: Time.current, unconfirmed_phone: "666666666", sms_confirmation_code: "666")
|
||||
user = create(:user,
|
||||
residence_verified_at: Time.current,
|
||||
unconfirmed_phone: "666666666",
|
||||
sms_confirmation_code: "666")
|
||||
|
||||
login_as(user)
|
||||
visit verification_path
|
||||
|
||||
Reference in New Issue
Block a user