summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/provider
diff options
context:
space:
mode:
authorKen Barber <ken@bob.sh>2011-08-08 09:47:30 -0700
committerKen Barber <ken@bob.sh>2011-08-08 09:47:30 -0700
commitef4ef11ae0bad1aa2d7659aa7774df9e39146855 (patch)
tree7a705b349ab1f976328eef1fa7c3e7167a1bd769 /spec/unit/puppet/provider
parent07d0eca31780bba76f2283ce83f944473ce8fe00 (diff)
parentf3c53e6f1943417a1690f5a976076f24277c6b06 (diff)
Merge pull request #10 from jeffmccune/ticket/master/8792_rename_whole_line_to_file_line
(#8792) Rename whole_line type to file_line.
Diffstat (limited to 'spec/unit/puppet/provider')
-rw-r--r--spec/unit/puppet/provider/file_line/ruby_spec.rb (renamed from spec/unit/puppet/provider/whole_line/ruby_spec.rb)4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/puppet/provider/whole_line/ruby_spec.rb b/spec/unit/puppet/provider/file_line/ruby_spec.rb
index 9faff2c..b03fc0e 100644
--- a/spec/unit/puppet/provider/whole_line/ruby_spec.rb
+++ b/spec/unit/puppet/provider/file_line/ruby_spec.rb
@@ -1,12 +1,12 @@
require 'puppet'
require 'tempfile'
-provider_class = Puppet::Type.type(:whole_line).provider(:ruby)
+provider_class = Puppet::Type.type(:file_line).provider(:ruby)
describe provider_class do
before :each do
tmp = Tempfile.new('tmp')
@tmpfile = tmp.path
tmp.close!
- @resource = Puppet::Type::Whole_line.new(
+ @resource = Puppet::Type::File_line.new(
{:name => 'foo', :path => @tmpfile, :line => 'foo'}
)
@provider = provider_class.new(@resource)