summaryrefslogtreecommitdiff
path: root/spec/integration
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate passing more than 1 argument to create a resourcejk/3634John Keiser2015-07-061-4/+12
|
* Don't accept multiple parameters in recipe DSL (just name)John Keiser2015-07-061-0/+20
|
* Re-separate priority map and DSL handler map so that provides has veto power ↵John Keiser2015-07-061-364/+595
| | | | over priority
* Call provides? when resolving, reduce number of calls to provides?John Keiser2015-06-301-89/+340
| | | | in Provider
* Use windows paths without case-sensitivity.ksubrama/path_spaceKartik Null Cating-Subramanian2015-06-301-11/+13
| | | | | | Fixes #1684 Add tests for path manipulation in chef-fs. Clean up the handling of paths in chef-fs.
* Get tests passingJay Mundrawala2015-06-291-1/+1
|
* Fix to allow LW resources to be used with HW providersjdm/lwrp-fixJay Mundrawala2015-06-241-0/+25
| | | | | | | | | | | | | | This should fix sethvargo-cookbooks/swap#22 Here's what was happening: The cookbooks creates a Resource using the LWRP base. This dynamically creates a class. We used to create this class with the name Chef::Resource::SomeResourceName. In 12.4, this change to something like "LWRP resource some_resource_name from cookbook CookbookName". When searching for a provider, it couldn't be found because it wasn't explicitly set, as it would have been if it was a LW provider, and it wasn't found in Chef::Provider, because Chef::Provider had a provider SomeResourceName instead of "LWRP resource some_resource_name from cookbook CookbookName".
* Get tests running under Ruby 2.0John Keiser2015-06-231-3/+7
|
* Update resource_name in resource action testsJohn Keiser2015-06-232-5/+5
|
* Create the `action :name do ... end` syntax for ResourceJohn Keiser2015-06-231-0/+338
|
* Add default_action and allowed_actions to Resource class, remove from LWRPJohn Keiser2015-06-231-0/+1
|
* Get rid of warning when defining an LWRPjk/remove_lwrp_warningJohn Keiser2015-06-231-6/+2
|
* Sort identical "provides" alphabetically (for backcompat)John Keiser2015-06-181-20/+195
| | | | - Warn when multiple providers try to provide the same thing
* Do not set resource_name outside of Chef::Resourcejk/chef-resource-name-onlyJohn Keiser2015-06-181-19/+15
|
* Ensure :nothing is in the list of allowed actions for an LWRPJohn Keiser2015-06-161-0/+44
|
* Make resource_for_short_name look up the canonical resourcejk/automatic-automatic-nameJohn Keiser2015-06-081-12/+109
|
* Remove unused test lineJohn Keiser2015-06-081-1/+0
|
* Make sure resource_name :x only removes automatic provides from that classJohn Keiser2015-06-082-18/+108
|
* Overwrite resource_name with providesJohn Keiser2015-06-081-16/+234
|
* Make use_automatic_resource_name automaticJohn Keiser2015-06-081-3/+77
|
* Fix hyphenated LWRP nameshyphenated-lwrpJohn Keiser2015-06-031-0/+57
|
* Make resource deprecation warnings once-only; fix recipe DSL tests back upJohn Keiser2015-06-021-5/+4
|
* Narrow resolvers to only look at parts of the map we supportJohn Keiser2015-06-021-1/+1
|
* Add default_action and allowed_actions to Resource class, remove from LWRPJohn Keiser2015-06-011-5/+1
|
* Add use_automatic_resource_nameJohn Keiser2015-06-012-7/+4
|
* Make resource_name call providesJohn Keiser2015-06-012-6/+8
|
* Toss an error if a resource without a resource_name is createdJohn Keiser2015-06-011-0/+21
|
* Move resource_name up to Resource, and figure out its value automaticallyJohn Keiser2015-06-012-3/+3
|
* Skip integration tests that aren't working on appveyor environmentdanielsdeleo2015-05-191-27/+29
|
* Use descriptive constant names in tests to avoid conflictdanielsdeleo2015-05-191-16/+16
|
* rvm needs GEM_PATH protectedlcg/integ-fixesLamont Granquist2015-05-181-1/+1
| | | | | otherwise the rubyopts passes -rbundler/setup which whacks the gem_path and then without the env var it can't find internal gems like i18n.
* just check for exit != 0Lamont Granquist2015-05-181-1/+1
|
* fix circular references testsLamont Granquist2015-05-181-14/+8
|
* suppress cookbook self-dependencies and warnlcg/warn-cb-self-depLamont Granquist2015-05-151-0/+18
| | | | | | | | | | | | | | | | | | | | cookbooks with self-deps: name 'foo' depends 'foo' are useless and can waste cycles in the depsolver (particularly in the non-solution case), and likely limit the possible choices of depsolvers that we could pick at some point to replace gecode. filtering out the self-dep here will prevent the chef server depsolver from seeing the self-dep and needing to do the work to strip it. also warn the user so that they can remove the self-dep. in the future this will be a hard error. foodcritic also has a rule about removing these.
* Fix deprecation warning (and corresponding test) for Chef::Resource::BlahJohn Keiser2015-05-131-4/+7
|
* Add deprecation warning for providers that do not use providesJohn Keiser2015-05-131-0/+41
|
* Remove provides_nothingJohn Keiser2015-05-131-16/+0
|
* Remove automatic `provides`John Keiser2015-05-131-17/+12
|
* Add tests for resource naming and creationJohn Keiser2015-05-132-1/+278
|
* add a spec test + linebreaksLamont Granquist2015-05-041-0/+5
|
* Add an integration test of chef-client with empty ENV.Kartik Null Cating-Subramanian2015-05-011-2/+19
|
* Update integration tests for chefzero URLsdanielsdeleo2015-04-011-3/+3
|
* Add --no-listen option to disable zero binding to portdanielsdeleo2015-04-011-0/+11
|
* Add minimal ohai mode option flagminimal-ohai-modedanielsdeleo2015-03-274-8/+10
|
* Merge pull request #2758 from chef/mcquin/control_groupSerdar Sutay2015-02-111-3/+3
|\ | | | | Change audit DSL method controls to control_group.
| * Update DSL method name to controls_group.mcquin/control_groupClaire McQuin2015-01-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to use control_group. Unify wording along control_group. Unify wording along control_group. Fix typo. Enable audit mode. Update to use control_group syntax. Update for audit DSL changes. Update for audit DSL change.
* | Clean all RSpec test filters related to Ruby 1.8.7 (issue #2497)Xabier de Zuazo2015-01-272-3/+2
| |
* | define dummynode for specsawanoboly2015-01-271-4/+8
| |
* | fix masterLamont Granquist2015-01-251-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | broken by merging #2431. code was actually broken and the specs were broken, not sure how it got into ready-to-merge in that state. rolled back the FileUtils.rm_rf that was in the original patch since it trashed my chef git repo and in light of: https://github.com/ValveSoftware/steam-for-linux/issues/3671 i think the rm_rf is a bad idea.
* | simplify testVasiliy Tolstov2015-01-251-28/+22
| | | | | | | | Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>