Sha256: fdb4ac3bf2075c6faf07c180a53f2795e63a52e2b3659323adc847fd71ebd39f

Contents?: true

Size: 401 Bytes

Versions: 44

Compression:

Stored size: 401 Bytes

Contents

require 'test_puppet_helper'

module ForemanPuppet
  class ConfigGroupClassTest < ActiveSupport::TestCase
    should validate_presence_of(:config_group)
    should validate_presence_of(:puppetclass)
    # can not validate_uniqueness_of associations
    # https://github.com/thoughtbot/shoulda-matchers/issues/814
    # should validate_uniqueness_of(:config_group).scoped_to(:puppetclass_id)
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
foreman_puppet-8.0.0 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-6.4.0 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-7.0.0 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-6.3.0 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-6.2.0 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-6.1.1 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-5.1.3 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-6.1.0 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-6.0.1 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-6.0.0 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-5.1.2 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-4.1.1 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-5.1.1 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-5.1.0 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-4.1.0 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-4.0.4 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-5.0.0 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-4.0.3 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-4.0.2 test/models/foreman_puppet/config_group_class_test.rb
foreman_puppet-3.0.7 test/models/foreman_puppet/config_group_class_test.rb