Skip to content
Permalink
Browse files

Adding in very basic rspec testing

  • Loading branch information...
pckls committed Jun 15, 2016
1 parent 61da1e2 commit 672da819e0d9033b1ec1495363e8e3b2a1d866cf
Showing with 18 additions and 0 deletions.
  1. +3 −0 .fixtures.yml
  2. +1 −0 .gitignore
  3. +12 −0 spec/classes/init_spec.rb
  4. +2 −0 spec/spec_helper.rb
@@ -0,0 +1,3 @@
fixtures:
symlinks:
pmb: "#{source_dir}"
@@ -0,0 +1 @@
spec/fixtures/**
@@ -0,0 +1,12 @@

require 'spec_helper'

describe 'pmb', :type => 'class' do

context "With defaults for all parameters" do

it { should contain_class('pmb') }

end

end
@@ -0,0 +1,2 @@
require 'rubygems'
require 'puppetlabs_spec_helper/module_spec_helper'

0 comments on commit 672da81

Please sign in to comment.
You can’t perform that action at this time.