Project

General

Profile

Download (324 Bytes) Statistics
| Branch: | Tag: | Revision:

foreman-docker / test / units / foreman_docker / docker_test.rb @ ab3290b1

1
require 'test_plugin_helper'
2

    
3
module ForemanDocker
4
  class DockerTest < ActiveSupport::TestCase
5
    should validate_presence_of(:url)
6
    should allow_value('a@b.com').for(:email)
7
    should allow_value('').for(:email)
8
    should_not allow_value('abcb.com').for(:email)
9
    should_not allow_value('a').for(:email)
10
  end
11
end