diff options
Diffstat (limited to 'spec/integration/provider/mailalias/aliases_spec.rb')
-rwxr-xr-x | spec/integration/provider/mailalias/aliases_spec.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/spec/integration/provider/mailalias/aliases_spec.rb b/spec/integration/provider/mailalias/aliases_spec.rb new file mode 100755 index 000000000..fde0b001f --- /dev/null +++ b/spec/integration/provider/mailalias/aliases_spec.rb @@ -0,0 +1,25 @@ +#!/usr/bin/env ruby + +require File.dirname(__FILE__) + '/../../../spec_helper' + +require 'puppettest' +require 'puppettest/support/utils' +require 'puppettest/fileparsing' + +provider_class = Puppet::Type.type(:mailalias).provider(:aliases) + +describe provider_class do + include PuppetTest + include PuppetTest::FileParsing + + before :each do + @provider = provider_class + end + + # #1560 + PuppetTest.fakedata("data/providers/mailalias/aliases").each { |file| + it "should be able to parse the examples in #{file}" do + fakedataparse(file) + end + } +end |