summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/type
diff options
context:
space:
mode:
authorAshley Penney <ashley.penney@puppetlabs.com>2014-03-05 15:43:58 -0500
committerAshley Penney <ashley.penney@puppetlabs.com>2014-03-10 10:58:49 -0700
commitdbb29980a170623c578c51c471af71ff66e23e9c (patch)
tree21bd50f4cf0c5d79efadcc9b8ffab145bbfd3f03 /spec/unit/puppet/type
parent326a8fd801ecba11005189c10ca8749872ef6577 (diff)
downloadpuppet-stdlib-dbb29980a170623c578c51c471af71ff66e23e9c.tar.gz
puppet-stdlib-dbb29980a170623c578c51c471af71ff66e23e9c.tar.bz2
Numerous changes to update testing gems.
This work updates a number of Gems to the latest versions (rspec, rspec-puppet), and updates and tweaks a bunch of tests to work with the updated gems.
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 0cd8a26..37f3861 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