summaryrefslogtreecommitdiff
path: root/test/providers/nameservice.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/providers/nameservice.rb')
-rw-r--r--test/providers/nameservice.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/providers/nameservice.rb b/test/providers/nameservice.rb
index 0e0f8050f..dafc8dcf0 100644
--- a/test/providers/nameservice.rb
+++ b/test/providers/nameservice.rb
@@ -1,16 +1,9 @@
-if __FILE__ == $0
- $:.unshift '..'
- $:.unshift '../../lib'
- $puppetbase = "../.."
-end
-
require 'puppettest'
require 'puppet'
-require 'test/unit'
require 'facter'
class TestNameServiceProvider < Test::Unit::TestCase
- include FileTesting
+ include PuppetTest::FileTesting
def test_option
klass = Class.new(Puppet::Type::Provider::NameService)