summaryrefslogtreecommitdiff
path: root/spec/unit/node_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into save-right-run-listThom May2014-03-041-12/+33
|\ | | | | | | | | Conflicts: lib/chef/client.rb
| * s/mock\(/double(/gLamont Granquist2014-01-291-4/+4
| |
| * s/stub!/stub/gLamont Granquist2014-01-291-8/+8
| | | | | | | | fix deprecation warnings
| * CHEF-4777: fix for fully qualifying recipesLamont Granquist2014-01-161-2/+2
| | | | | | | | | | | | this makes it so that the recipes in the attribute will be fully qualified, and will avoid the problem of both "cookbook" and "cookbook::default" showing up.
| * CHEF-4777: add include_recipes to recipes node attrLamont Granquist2013-11-141-0/+16
| |
| * Moved Chef::Recipe#tag into the Chef::Node objectPaul Mooring2013-10-041-0/+5
| |
* | CHEF-4443 - Always save the correct run listThom May2013-08-121-0/+9
|/ | | | | As per Dan's suggestions, use a primary run_list and an override, and take care to ensure that the correct one is used to save the node.
* [CHEF-3683] Assert entire order in test.Steven Danna2013-04-011-1/+1
|
* [CHEF-3683] Chef::Node objects should be sortable.Steven Danna2013-04-011-0/+7
| | | | | | This commit adds a simple <=> method which will allow for Chef::Node objects to be ordered based on their name. The primary use case is sorting arrays of nodes for use in templates.
* [CHEF-3806] add tests for "dangling" set_unless state bleeddanielsdeleo2013-01-291-3/+27
|
* specs to test for set_unless flag badnessLamont Granquist2013-01-291-0/+21
|
* [CHEF-3724] correctly query the recipes attribute in Node#recipe?danielsdeleo2012-12-261-0/+30
| | | | | Also, coerce node[:recipes] to an Array so that Node#recipe? will work correctly when the recipes attribute has not been set.
* Wire "force" default and override into nodedanielsdeleo2012-11-091-0/+12
| | | | | | The desired behavior works without this match because of method_missing on Chef::Node, but this makes the behavior tested, documented, and explicit.
* [CHEF-3499] add platform introspection to Nodedanielsdeleo2012-11-021-3/+2
|
* [CHEF-3499] convert node specs to use let() {}danielsdeleo2012-11-021-221/+222
|
* [CHEF-2936] ensure all default and override attrs go in node jsondanielsdeleo2012-11-021-2/+19
| | | | | | | | | | default and override attributes are now split into components, so all the components need to be merged together to generate the serialized representation of a node. Unfortunately, this means that serializing a node is now lossy because the information about which component default and override attributes belong to is lost. In practice, this is not a major issue, since automatic, override, and default attributes are cleared by chef for each run.
* [CHEF-2936] apply attributes at run list expansiondanielsdeleo2012-11-021-1/+29
| | | | | | Role and environment default/override attributes are now set on the node at run_list expansion time, using the appropriate new attribute components on Node::Attribute.
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+684
| | | | The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!
* big refactor of the repo layout. move to a chef gem and a chef-server gem ↵Ezra Zygmuntowicz2008-10-081-326/+0
| | | | all with proper deps
* Adding specs for new resource types, fixes to node, mixin::templateAdam Jacob2008-09-081-2/+3
|
* Changing the license on the spec files as wellAdam Jacob2008-08-171-13/+11
|
* Adding functional search supportAdam Jacob2008-07-101-3/+15
|
* Huge amount of work, covering openid, clients, and all sorts of server stuffAdam Jacob2008-06-091-48/+175
|
* Working on network layerAdam Jacob2008-05-191-8/+17
|
* chef compilesAdam Jacob2008-04-271-0/+5
|
* Adding chef-solo command, config examples, Chef::Log class, ↵Adam Jacob2008-04-081-1/+55
| | | | Chef::Log::Formatter, Chef::Compile, and all the tests
* Adding the Params::Validate mixin, refactored Chef::Config to be a ↵Adam Jacob2008-04-071-1/+13
| | | | singleton, Implemented require_recipe
* Added rcov coverage, lots of tests, definitions, node supportAdam Jacob2008-03-101-0/+108