Skip to content

Commit

Permalink
add tests for systemd::network
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jul 13, 2017
1 parent f6b9c7a commit 0c81914
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions spec/defines/network_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
require 'spec_helper'

describe 'systemd::network' do
let :params do
{
restart_service: true
}
end

let(:title) { 'eth0.network' }

on_supported_os.each do |os, facts|
let :facts do
facts
end

context 'with all defaults' do
it { is_expected.to compile.with_all_deps }
end
end
end

0 comments on commit 0c81914

Please sign in to comment.