Project

General

Profile

« Previous | Next » 

Revision 005ffdfd

Added by Ewoud Kohl van Wijngaarden over 7 years ago

Use rspec shared examples to reduce duplication

View differences:

spec/classes/plugin/docker_spec.rb
require 'spec_helper'
describe 'foreman::plugin::docker' do
let(:facts) do
on_supported_os['redhat-7-x86_64']
end
let(:pre_condition) { 'include foreman' }
it { should contain_foreman__plugin('docker') }
include_examples 'basic foreman plugin tests', 'docker'
end

Also available in: Unified diff