diff options
author | Luke Kanies <luke@madstop.com> | 2009-03-19 23:58:19 -0500 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-03-20 18:27:08 +1100 |
commit | 0179e945a7d402c90a333c8207243882af362e06 (patch) | |
tree | e977d49f50c7907a67799bd8d445f833f9c823ee /spec/unit/ssl/certificate.rb | |
parent | a497263d97229489dcc4341cc98ca3c75f116374 (diff) | |
download | puppet-0179e945a7d402c90a333c8207243882af362e06.tar.gz puppet-0179e945a7d402c90a333c8207243882af362e06.tar.xz puppet-0179e945a7d402c90a333c8207243882af362e06.zip |
Fixing #1557 - Environments are now in REST URIs
This commit includes multiple, related changes, all
in one commit because the whole thing was necessary to
reach a functional tree again:
* The URI starts with the environment, so:
/production/certificate/foo
/development/file_content/path/to/your/file
* All REST handling is done by a single instance mounted
at / for webrick and Mongrel, rather than having individual
instances mounted at, say, /certificate.
* All REST URI translation is done by an API module. Currently
only the 'v1' module exists with no support for additional modules,
but it's well-separated and will be easy to expand as we need it.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit/ssl/certificate.rb')
-rwxr-xr-x | spec/unit/ssl/certificate.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/unit/ssl/certificate.rb b/spec/unit/ssl/certificate.rb index a092c6abe..0d48991ad 100755 --- a/spec/unit/ssl/certificate.rb +++ b/spec/unit/ssl/certificate.rb @@ -21,10 +21,6 @@ describe Puppet::SSL::Certificate do @class.indirection.name.should == :certificate end - it "should default to the :file terminus" do - @class.indirection.terminus_class.should == :file - end - it "should only support the text format" do @class.supported_formats.should == [:s] end |