From 746a374f6ffe9be0628d720b0e4759bde7caf8db Mon Sep 17 00:00:00 2001 From: Matt Robinson Date: Tue, 9 Aug 2011 21:52:49 +0100 Subject: maint: Fix case sensitive require Mac's filesystems aren't case sensitive, so developing this change didn't catch the issue with requiring filenames that had been uppercased. Reviewed-by: Nick Lewis --- spec/unit/application_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/unit/application_spec.rb b/spec/unit/application_spec.rb index b56aa20b0..fd93ceb00 100755 --- a/spec/unit/application_spec.rb +++ b/spec/unit/application_spec.rb @@ -32,7 +32,7 @@ describe Puppet::Application do it "should exit if it can't find a class" do reg = "Unable to find application 'ThisShallNeverEverEverExist'. " - reg += "no such file to load -- puppet/application/ThisShallNeverEverEverExist" + reg += "no such file to load -- puppet/application/thisshallneverevereverexist" @klass.expects(:puts).with(reg) expect { @klass.find("ThisShallNeverEverEverExist") }.to exit_with 1 -- cgit