diff options
| author | Daniel Pittman <daniel@rimspace.net> | 2011-03-02 19:06:57 -0800 |
|---|---|---|
| committer | Daniel Pittman <daniel@rimspace.net> | 2011-03-03 16:29:37 -0800 |
| commit | 0f6faf5e138e6d11e79b2430b4e6fa6139442509 (patch) | |
| tree | eba4624e042fbd367daa0a36c6d2e61c1d2ac03f /spec/integration/provider | |
| parent | f490526726a5f35437cda11652ae9977d89279e5 (diff) | |
| download | puppet-0f6faf5e138e6d11e79b2430b4e6fa6139442509.tar.gz puppet-0f6faf5e138e6d11e79b2430b4e6fa6139442509.tar.xz puppet-0f6faf5e138e6d11e79b2430b4e6fa6139442509.zip | |
(#6582) Eliminate the old fakedata helper method.
This is replaced with the new my_fixture{,s} methods; old fixture data is
ported into the spec tests at the same time, but left where it was against
unit tests that require it.
Reviewed-By: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'spec/integration/provider')
| -rwxr-xr-x | spec/integration/provider/mailalias/aliases_spec.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/integration/provider/mailalias/aliases_spec.rb b/spec/integration/provider/mailalias/aliases_spec.rb index bce9374c1..c9c252600 100755 --- a/spec/integration/provider/mailalias/aliases_spec.rb +++ b/spec/integration/provider/mailalias/aliases_spec.rb @@ -2,14 +2,12 @@ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper') -require 'puppettest/support/utils' require 'puppettest/fileparsing' provider_class = Puppet::Type.type(:mailalias).provider(:aliases) describe provider_class do include PuppetTest::FileParsing - include PuppetTest::Support::Utils before :each do @provider = provider_class @@ -17,8 +15,8 @@ describe provider_class do # #1560 it "should be able to parse the mailalias examples" do - fakedata("data/providers/mailalias/aliases").each { |file| + my_fixtures do |file| fakedataparse(file) - } + end end end |
