Domains#index is now the root page

This commit is contained in:
2023-06-21 17:23:20 +01:00
parent d882c1a521
commit b1009ec4de
8 changed files with 45 additions and 12 deletions

View File

@@ -39,4 +39,14 @@ class VirtualTest < ActiveSupport::TestCase
assert !@v.save
end
test "domain id must be present" do
@v = Virtual.new
@v.email = "abuse@example.net"
@v.destination = "valid@email.com"
@v.domain_id = domains(:one).id + 1234
assert !@v.save
end
end