summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2009-08-17 21:30:44 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-08-18 20:28:02 +1000
commit0ef5f228c20a34a562a1c20b206acf2af0eb41ba (patch)
tree0c82dd7bd58f171a303a1b489b49b49bc604d697 /spec
parentc1967bb8d2e98d53182ea15fb13ac68d7bff7d84 (diff)
downloadpuppet-0ef5f228c20a34a562a1c20b206acf2af0eb41ba.tar.gz
puppet-0ef5f228c20a34a562a1c20b206acf2af0eb41ba.tar.xz
puppet-0ef5f228c20a34a562a1c20b206acf2af0eb41ba.zip
Removed misguided case sensitivity tests
Removed two failing tests added in the process of reproducing #2493 because they enforced case-insensitivity in excess of that provided by 0.24.8 and thus contrary to user expectations. Signed-off-by: Markus Roberts <Markus@reality.com>
Diffstat (limited to 'spec')
-rwxr-xr-xspec/integration/parser/functions/require.rb7
-rwxr-xr-xspec/integration/util/autoload.rb12
2 files changed, 0 insertions, 19 deletions
diff --git a/spec/integration/parser/functions/require.rb b/spec/integration/parser/functions/require.rb
index 15ff51b95..79ba13d24 100755
--- a/spec/integration/parser/functions/require.rb
+++ b/spec/integration/parser/functions/require.rb
@@ -64,11 +64,4 @@ describe "the include function" do
@compiler.catalog.edge?(@scope.resource,@compiler.findresource(:class,"includedclass")).should be_true
end
- it "should find a file with an all lowercase name given a mixed case name" do
- with_file('includedclass',"class includedclass {}") {
- @scope.function_include("includedclass")
- }
- @compiler.catalog.edge?(@scope.resource,@compiler.findresource(:class,"IncludedClass")).should be_true
- end
-
end
diff --git a/spec/integration/util/autoload.rb b/spec/integration/util/autoload.rb
index dd9752d01..f84c00bcb 100755
--- a/spec/integration/util/autoload.rb
+++ b/spec/integration/util/autoload.rb
@@ -67,18 +67,6 @@ describe Puppet::Util::Autoload do
}
end
- it "should successfully load a file with a mixed case name" do
- on_disk = "MyThing.rb"
- in_code = :mything
- with_loader("foo", "bar") { |dir,loader|
- with_file(in_code, dir, on_disk) {
- loader.load(in_code).should be_true
- loader.should be_loaded(in_code)
- AutoloadIntegrator.should be_thing(in_code)
- }
- }
- end
-
it "should consider a file loaded when asked for the name without an extension" do
with_loader("foo", "bar") { |dir,loader|
with_file(:noext, dir, "noext.rb") {