summaryrefslogtreecommitdiff
path: root/spec/lib/puppet_spec/settings.rb
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2015-06-01 13:36:25 -0700
committerHunter Haugen <hunter@puppetlabs.com>2015-06-01 13:36:25 -0700
commita383705fdb133978e53503b7e01012367fac139d (patch)
treef044a3b9c65db499ae279a08328c18200201d094 /spec/lib/puppet_spec/settings.rb
parent1ae9058518d042ea81d42f46cebbb040b35a2b4d (diff)
parent18d4c21418e8d188ae659a92ff3a8df04d711f6a (diff)
Merge pull request #464 from DavidS/modules-1882-convert-to-rspec
(MODULES-1882) convert function tests to rspec-puppet
Diffstat (limited to 'spec/lib/puppet_spec/settings.rb')
-rwxr-xr-xspec/lib/puppet_spec/settings.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/lib/puppet_spec/settings.rb b/spec/lib/puppet_spec/settings.rb
deleted file mode 100755
index 8ddcb97..0000000
--- a/spec/lib/puppet_spec/settings.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-#! /usr/bin/env ruby -S rspec
-module PuppetSpec::Settings
-
- # It would probably be preferable to refactor defaults.rb such that the real definitions of
- # these settings were available as a variable, which was then accessible for use during tests.
- # However, I'm not doing that yet because I don't want to introduce any additional moving parts
- # to this already very large changeset.
- # Would be nice to clean this up later. --cprice 2012-03-20
- TEST_APP_DEFAULT_DEFINITIONS = {
- :name => { :default => "test", :desc => "name" },
- :logdir => { :type => :directory, :default => "test", :desc => "logdir" },
- :confdir => { :type => :directory, :default => "test", :desc => "confdir" },
- :vardir => { :type => :directory, :default => "test", :desc => "vardir" },
- :rundir => { :type => :directory, :default => "test", :desc => "rundir" },
- }
-end