added virtuals

This commit is contained in:
2023-05-10 15:14:06 +01:00
parent 793e944b5f
commit 8f1fe8c7c2
27 changed files with 297 additions and 15 deletions

View File

@@ -8,11 +8,11 @@ class DomainTest < ActiveSupport::TestCase
test "domain can no tbe duplicated" do
@d1 = Domain.new
@d1.name = "example.com"
@d1.domain = "example.com"
assert @d1.save
@d2 = Domain.new
@d2.name = "example.com"
@d2.domain = "example.com"
assert !@d2.save
end
end

View File

@@ -0,0 +1,7 @@
require "test_helper"
class VirtualTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end