tech(lint): rubocop
This commit is contained in:
parent
0aecc301c9
commit
e48b6e0c1f
2 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 2021_11_15_112933) do
|
ActiveRecord::Schema.define(version: 2021_11_15_112933) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
enable_extension "unaccent"
|
enable_extension "unaccent"
|
||||||
|
|
|
@ -103,7 +103,7 @@ describe CommentaireService do
|
||||||
expect { subject }.to change { commentaire.reload.body }.from(an_instance_of(String)).to("")
|
expect { subject }.to change { commentaire.reload.body }.from(an_instance_of(String)).to("")
|
||||||
end
|
end
|
||||||
it 'sets deleted_at' do
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue