Skip to content

Commit

Permalink
Add missing specs for plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
stbenjam authored and mmoll committed Aug 31, 2015
1 parent cccd4e6 commit 6238f9e
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/classes/foreman_plugin_abrt_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

describe 'foreman::plugin::abrt' do
let(:facts) do
on_supported_os['redhat-7-x86_64']
end

it { should contain_foreman__plugin('abrt') }
end
9 changes: 9 additions & 0 deletions spec/classes/foreman_plugin_bootdisk_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

describe 'foreman::plugin::bootdisk' do
let(:facts) do
on_supported_os['redhat-7-x86_64']
end

it { should contain_foreman__plugin('bootdisk') }
end
9 changes: 9 additions & 0 deletions spec/classes/foreman_plugin_chef_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

describe 'foreman::plugin::chef' do
let(:facts) do
on_supported_os['redhat-7-x86_64']
end

it { should contain_foreman__plugin('chef') }
end
9 changes: 9 additions & 0 deletions spec/classes/foreman_plugin_default_hostgroup_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

describe 'foreman::plugin::default_hostgroup' do
let(:facts) do
on_supported_os['redhat-7-x86_64']
end

it { should contain_foreman__plugin('default_hostgroup') }
end
9 changes: 9 additions & 0 deletions spec/classes/foreman_plugin_digitalocean_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

describe 'foreman::plugin::digitalocean' do
let(:facts) do
on_supported_os['redhat-7-x86_64']
end

it { should contain_foreman__plugin('digitalocean') }
end
9 changes: 9 additions & 0 deletions spec/classes/foreman_plugin_docker_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

describe 'foreman::plugin::docker' do
let(:facts) do
on_supported_os['redhat-7-x86_64']
end

it { should contain_foreman__plugin('docker') }
end
9 changes: 9 additions & 0 deletions spec/classes/foreman_plugin_hooks_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

describe 'foreman::plugin::hooks' do
let(:facts) do
on_supported_os['redhat-7-x86_64']
end

it { should contain_foreman__plugin('hooks') }
end
9 changes: 9 additions & 0 deletions spec/classes/foreman_plugin_salt_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

describe 'foreman::plugin::salt' do
let(:facts) do
on_supported_os['redhat-7-x86_64']
end

it { should contain_foreman__plugin('salt') }
end
9 changes: 9 additions & 0 deletions spec/classes/foreman_plugin_setup_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

describe 'foreman::plugin::setup' do
let(:facts) do
on_supported_os['redhat-7-x86_64']
end

it { should contain_foreman__plugin('setup') }
end

0 comments on commit 6238f9e

Please sign in to comment.