Domains#index is now the root page
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user