Sha256: 8d106b2e66d02b0351d2054f021dc9167e9c84560729146c3942e743f9e0e13b

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 Bytes

Contents

 require 'test_plugin_helper'

class AnsibleRoleTest < ActiveSupport::TestCase
  should have_many(:host_ansible_roles)
  should have_many(:hosts).through(:host_ansible_roles).dependent(:destroy)
  should validate_presence_of(:name)
  should validate_uniqueness_of(:name)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman_ansible-1.0 test/unit/ansible_role_test.rb