summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJacob Helwig <jacob@puppetlabs.com>2011-02-01 15:18:00 -0800
committerJacob Helwig <jacob@puppetlabs.com>2011-02-01 15:23:29 -0800
commit530496b00d488da72b1e4e08806ccae27bee012a (patch)
treeb10c2b472704459afd64dfbf000a4129720d9953 /spec
parent76788f80aab15e5ef6487788132b87ecc6ddd9ac (diff)
downloadpuppet-530496b00d488da72b1e4e08806ccae27bee012a.tar.gz
puppet-530496b00d488da72b1e4e08806ccae27bee012a.tar.xz
puppet-530496b00d488da72b1e4e08806ccae27bee012a.zip
Remove already initialized constant warning from file_spec.rb tests
rspec pulls constants from the implementation into the test, so we don't need to redefine it. Reviewed-by: Jesse Wolfe <jesse@puppetlabs.com>
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/type/file_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/unit/type/file_spec.rb b/spec/unit/type/file_spec.rb
index 698dff52a..27d6727f3 100755
--- a/spec/unit/type/file_spec.rb
+++ b/spec/unit/type/file_spec.rb
@@ -863,8 +863,6 @@ describe Puppet::Type.type(:file) do
end
describe "when using content" do
- SOURCE_ONLY_CHECKSUMS = [:none, :ctime, :mtime]
-
before do
@file[:content] = 'file contents'
end