summaryrefslogtreecommitdiffstats
path: root/spec/integration/provider/mailalias
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2010-07-02 22:19:28 -0700
committerJames Turnbull <james@lovedthanlost.net>2010-09-03 02:53:01 +1000
commit07d0be4684f75e6edc6fbb5d1397dd79b8ca2b6b (patch)
tree9e8aa9c180f8cdff17bc6c000f9d4ce5dcc560d8 /spec/integration/provider/mailalias
parent9e696164237821fb6b48a913395240d376f8c3da (diff)
downloadpuppet-07d0be4684f75e6edc6fbb5d1397dd79b8ca2b6b.tar.gz
puppet-07d0be4684f75e6edc6fbb5d1397dd79b8ca2b6b.tar.xz
puppet-07d0be4684f75e6edc6fbb5d1397dd79b8ca2b6b.zip
[#4308] Remove puppettest from specs
The less stuff being done in the spec_helper the better for reasoning about what's happening in the tests. puppettest.rb does a lot of things that aren't necessary for the specs, so this patch gets those things out of the spec_helper. Reviewed by: Jesse Wolfe
Diffstat (limited to 'spec/integration/provider/mailalias')
-rwxr-xr-xspec/integration/provider/mailalias/aliases_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/integration/provider/mailalias/aliases_spec.rb b/spec/integration/provider/mailalias/aliases_spec.rb
index 8106c2cb5..0511205f2 100755
--- a/spec/integration/provider/mailalias/aliases_spec.rb
+++ b/spec/integration/provider/mailalias/aliases_spec.rb
@@ -2,7 +2,6 @@
require File.dirname(__FILE__) + '/../../../spec_helper'
-require 'puppettest'
require 'puppettest/support/utils'
require 'puppettest/fileparsing'
@@ -11,15 +10,16 @@ provider_class = Puppet::Type.type(:mailalias).provider(:aliases)
describe provider_class do
include PuppetTest
include PuppetTest::FileParsing
+ include PuppetTest::Support::Utils
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
+ it "should be able to parse the mailalias examples" do
+ fakedata("data/providers/mailalias/aliases").each { |file|
fakedataparse(file)
- end
- }
+ }
+ end
end