summaryrefslogtreecommitdiff
path: root/spec/unit/org_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Some more author domain stragglers.Noah Kantrowitz2016-02-021-1/+1
|
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-4/+4
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_restThom May2016-01-111-7/+7
| | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518
* Update rspec style for Chef::Org specSteven Danna2015-01-251-64/+65
| | | | | - No use of "should" in descriptions - Use let rather than before blocks
* Update copyright notices in Chef::Org-related filesSteven Danna2015-01-251-1/+1
|
* Make name argument mandatory for Chef::Org.newSteven Danna2015-01-251-3/+2
|
* Add Chef::Org model classSteven Danna2015-01-251-0/+196
Chef Server 12 added multi-tenancy to the open source Chef Server. An organization is the Chef Servers name for a tenant. The Chef::Org class provides a model of an organization to facilitate writting knife commands that can interact with (create, destroy, list) Chef organizations. This implementation is copied directly from knife-opc, the knife plugin currently in use by chef-server-ctl: https://github.com/opscode/knife-opc