From 530496b00d488da72b1e4e08806ccae27bee012a Mon Sep 17 00:00:00 2001 From: Jacob Helwig Date: Tue, 1 Feb 2011 15:18:00 -0800 Subject: 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 --- spec/unit/type/file_spec.rb | 2 -- 1 file changed, 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 -- cgit