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