diff options
| author | Luke Kanies <luke@madstop.com> | 2008-11-04 17:22:27 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-11-04 17:22:27 -0600 |
| commit | a9dbb5de66c9a97d13f7e7ade47bb6c3b5fa2e66 (patch) | |
| tree | 68cfc356eca467e18e1e4837dd7f575686693d11 /spec/integration | |
| parent | bb6619a74866605a07869f9467273d6e2e389dab (diff) | |
| download | puppet-a9dbb5de66c9a97d13f7e7ade47bb6c3b5fa2e66.tar.gz puppet-a9dbb5de66c9a97d13f7e7ade47bb6c3b5fa2e66.tar.xz puppet-a9dbb5de66c9a97d13f7e7ade47bb6c3b5fa2e66.zip | |
Deduplicating slashes in the fileserving code
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/integration')
| -rwxr-xr-x | spec/integration/indirector/direct_file_server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/indirector/direct_file_server.rb b/spec/integration/indirector/direct_file_server.rb index 417d661e8..c379bcbb7 100755 --- a/spec/integration/indirector/direct_file_server.rb +++ b/spec/integration/indirector/direct_file_server.rb @@ -64,7 +64,7 @@ describe Puppet::Indirector::DirectFileServer, " when interacting with FileServi case instance.full_path when /one/: instance.content.should == "one content" when /two/: instance.content.should == "two content" - when /\.$/: + when @path: else raise "No valid key for %s" % instance.path.inspect end |
