Fix Style/UnneededInterpolation

Exclusions from .rubocop_todo.yml deleted.
This cop checks for string interpolated expressions. It supports autocorrection.
Fixes #1823
This commit is contained in:
Sidharth 2017-12-04 23:45:37 +05:30
parent 666f5ab2dc
commit 93fcf8893a
3 changed files with 3 additions and 10 deletions

View file

@ -56,8 +56,8 @@ describe Admin::ConferencesController do
conference.reload
expect(flash[:error])
.to eq("Updating conference failed. Short title can't be blank.")
expect(conference.title).to eq("#{conference.title}")
expect(conference.short_title).to eq("#{conference.short_title}")
expect(conference.title).to eq(conference.title)
expect(conference.short_title).to eq(conference.short_title)
end
it 're-renders the #show template' do