summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/type
diff options
context:
space:
mode:
authorAshley Penney <ashley.penney@puppetlabs.com>2014-03-07 19:48:40 -0500
committerAshley Penney <ashley.penney@puppetlabs.com>2014-03-07 19:48:40 -0500
commit9e1cf99ccf12de2edaf73af73a8410e5cac6dd72 (patch)
tree2624c5c96549324719fbf6eaca781888d6d4646d /spec/unit/puppet/type
parentfecb53d46ed9e926973cdf5be1289c1ea71c2f68 (diff)
parent3854e076ccb75d1bcb1ddd29f5976b194d857765 (diff)
downloadpuppet-stdlib-9e1cf99ccf12de2edaf73af73a8410e5cac6dd72.tar.gz
puppet-stdlib-9e1cf99ccf12de2edaf73af73a8410e5cac6dd72.tar.bz2
Merge pull request #230 from apenney/fix-testing
[WIP] Spec overhaul.
Diffstat (limited to 'spec/unit/puppet/type')
-rw-r--r--spec/unit/puppet/type/anchor_spec.rb2
-rw-r--r--spec/unit/puppet/type/file_line_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/puppet/type/anchor_spec.rb b/spec/unit/puppet/type/anchor_spec.rb
index 2030b83..f92065f 100644
--- a/spec/unit/puppet/type/anchor_spec.rb
+++ b/spec/unit/puppet/type/anchor_spec.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-require 'puppet'
+require 'spec_helper'
anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin")
diff --git a/spec/unit/puppet/type/file_line_spec.rb b/spec/unit/puppet/type/file_line_spec.rb
index edc64bd..34d5dad 100644
--- a/spec/unit/puppet/type/file_line_spec.rb
+++ b/spec/unit/puppet/type/file_line_spec.rb
@@ -1,4 +1,4 @@
-require 'puppet'
+require 'spec_helper'
require 'tempfile'
describe Puppet::Type.type(:file_line) do
let :file_line do