Fix all Style/UnneededInterpolation rubocop issues and remove from rubocop_tod

This commit is contained in:
Bertocq
2017-07-04 22:44:08 +02:00
parent 9f38192e13
commit 28970c6701
11 changed files with 37 additions and 50 deletions

View File

@@ -16,9 +16,9 @@ feature 'Proposals' do
within(".account-info") do
expect(page).to have_content "Identified as"
expect(page).to have_content "#{user.username}"
expect(page).to have_content "#{user.email}"
expect(page).to have_content "#{user.document_number}"
expect(page).to have_content (user.username).to_s
expect(page).to have_content (user.email).to_s
expect(page).to have_content (user.document_number).to_s
end
fill_in 'proposal_title', with: 'Help refugees'
@@ -119,9 +119,9 @@ feature 'Proposals' do
within(".account-info") do
expect(page).to have_content "Identified as"
expect(page).to have_content "#{user.username}"
expect(page).to have_content "#{user.email}"
expect(page).to have_content "#{user.document_number}"
expect(page).to have_content (user.username).to_s
expect(page).to have_content (user.email).to_s
expect(page).to have_content (user.document_number).to_s
end
within(".proposals-list") do