test "UD.1 should delete the given record" do
[user, compnay ] = insert_record()
asset = Asset |> last |> Repo.one
{:ok, deleted} = Delete.delete(to_string(asset.id), user, company)
assert asset.id == deleted.id
end
This is an .exs
file. I have done :set spell
and you can see the UD
has a line under it.
In the second line, compnay
is spelled incorrectly, however the spell checker is not picking it up. Why is that?
Do I need to install something?