tech(lint): rubocop

This commit is contained in:
Martin 2021-11-16 14:30:06 +01:00
parent 0aecc301c9
commit e48b6e0c1f
2 changed files with 1 additions and 2 deletions

View file

@ -11,7 +11,6 @@
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_11_15_112933) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
enable_extension "unaccent"

View file

@ -103,7 +103,7 @@ describe CommentaireService do
expect { subject }.to change { commentaire.reload.body }.from(an_instance_of(String)).to("")
end
it 'sets deleted_at' do
expect {subject }.to change { commentaire.reload.discarded?}.from(false).to(true)
expect { subject }.to change { commentaire.reload.discarded? }.from(false).to(true)
end
end
end