Project

General

Profile

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

foreman_docker / test / units / container_test.rb @ 27a7d2c4

1
require 'test_plugin_helper'
2

    
3
class ContainerTest < ActiveSupport::TestCase
4
  should belong_to(:compute_resource)
5
  should belong_to(:registry)
6
  should have_many(:environment_variables)
7
  should have_many(:dns)
8
  should have_many(:exposed_ports)
9
  should validate_uniqueness_of(:name).scoped_to(:compute_resource_id)
10
end