summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Mark all functional reboot tests as pendingThom May2015-04-301-52/+54
| | | | | | We can't safely run these tests right now as they look at the state of the system registry, which often needs a reboot. The guards don't appear to work correctly.
* Fix the after blocks in reboot_pending specs.Serdar Sutay2015-04-271-4/+4
|
* Fix the logic that checks for existing reboot pending in reboot pending tests.Serdar Sutay2015-04-271-15/+15
|
* Merge pull request #2749 from opscode/jdm/metadata-error-infoJay Mundrawala2015-01-131-1/+5
| | | | Provide more info when cookbook metadata is not found
* Allow knife to install cookbooks with metadata.jsonJay Mundrawala2015-01-131-116/+157
| | | | Backport of PRs #2642 and #2345 to chef 11-stable
* Merge pull request #2074 from opscode/ryan/group_post-11-stableSerdar Sutay2014-11-191-0/+63
|\ | | | | Populate the actors when creating groups
| * Add unit test for group normalization in ChefFSRyan Cragun2014-11-191-0/+63
| |
* | Fix conflicting data in test casesdanielsdeleo2014-11-131-4/+4
| |
* | Merge branch 'chef-dk-227' into 11-stabledanielsdeleo2014-11-131-1/+66
|\ \ | |/ |/|
| * Add test data for chef-dk#227 regex strictnessdanielsdeleo2014-11-131-2/+19
| | | | | | | | | | Confirm that we won't accidentally break plugins with names like `chef-foo` or `foo-chef`.
| * Add regression test for #chef-dk#227 extraneous load issuedanielsdeleo2014-11-131-1/+49
| | | | | | | | Verified this fails when commenting the fix in the previous commit.
* | Remove unnecessary contexts in DSC functional specsadamedx/dsc-params-11-stableAdam Edwards2014-10-271-44/+36
| |
* | DSC parameters should be passed even when there is no config data fileAdam Edwards2014-10-271-4/+57
| |
* | Merge pull request #2252 from opscode/jdmundrawala/env-splitjdmundrawala/11-env-splitJay Mundrawala2014-10-262-13/+78
| | | | | | | | Modified env resource to break values up by delimiter before comparing
* | Merge pull request #2264 from opscode/jdmundrawala/issue-2225jdmundrawala/11-issue-2225Jay Mundrawala2014-10-241-1/+6
| | | | | | | | Improve detection missing WhatIf support
* | Merge pull request #2281 from opscode/jdmundrawala/lcm-renamesjdmundrawala/11-lcm-renamesJay Mundrawala2014-10-241-5/+5
| | | | | | | | Renamed output_has_dsc_module_failure to dsc_module_import_failure
* | Merge pull request #1871 from opscode/lcg/supermarket-urlssersut/backport-supermarket-switchlamont-granquist2014-10-162-4/+5
| | | | | | | | | | | | | | | | Lcg/supermarket urls Conflicts: CHANGELOG.md spec/unit/knife/cookbook_site_download_spec.rb spec/unit/knife/cookbook_site_share_spec.rb
* | Merge pull request #2190 from opscode/jdmundrawala/issue-2169Jay Mundrawala2014-10-131-4/+4
| | | | | | | | Try to apply dsc configuration even if what-if fails
* | Merge pull request #2188 from opscode/jdmundrawala/11-stableJay Mundrawala2014-10-132-134/+134
|\ \ | | | | | | Cherry pick dsc_script bug fix into 11-stable
| * | Merge pull request #2103 from opscode/jdmundrawala/issue-2027-masterJay Mundrawala2014-10-082-134/+134
| | | | | | | | | | | | We now check for powershell/dsc compat in provider.
* | | Merge pull request #2208 from opscode/jdmundrawala/env-path-spec-fixjdmundrawala/11-stable-env-path-spec-fixJay Mundrawala2014-10-131-4/+3
| | | | | | | | | | | | restore ENV['PATH'] in env_spec after test is complete
* | | Exclude knife integration tests on server platformsBryan McLellan2014-10-0917-16/+19
|/ / | | | | | | | | | | Not all platforms (looking at you solaris) need bother running the knife tests because we don't consider them to be workstation platforms. Excluding them will reduce transient failures and speed up the tests.
* | Adding back to prevent breaking people who use Hash.to_jsontball/11-stable-yajl-replace-jsontyler-ball2014-10-082-10/+4
| |
* | Ruby 1.8.7 does some weird hash printing where it gives different ordering - ↵tyler-ball2014-10-081-2/+2
| | | | | | | | simplifying test to avoid that
* | Fixing integration tests I didn't check last time I committedtyler-ball2014-10-085-10/+25
| |
* | First pass at removing JSON dependency, switching it for ffi-yajltyler-ball2014-10-0834-68/+182
|/
* Make FileVendor configuration specific to the two implementationssersut/port-policyfile-fixdanielsdeleo2014-10-0710-10/+88
| | | | | | | | | | | | | | | | FileVendor previously was configured by storing a closure/anonymous function as a class instance variable. This had the following downsides: * The API was too general, which caused a lot of code repetition * The block was lazily evaluated, which hid errors and made testing more difficult * The closures captured references to classes with references to large data structures, which complicates GC. Since we've only ever had the same two implementations of FileVendor, we can encapsulate configuration of the FileVendor factory by wrapping each configuration option in a method. As a side benefit, arguments to these methods will be eagerly evaluated, which makes it easier to detect errors.
* Merge pull request #2142 from opscode/jdmundrawala/11-windows-env-fixJay Mundrawala2014-10-062-171/+253
|\ | | | | Jdmundrawala/11 windows env fix
| * Merge pull request #2024 from opscode/jdmundrawala/windows_env_pathJay Mundrawala2014-09-302-171/+253
| | | | | | | | | | | | Windows path fix Conflicts: spec/functional/resource/env_spec.rb
* | Merge pull request #1912 from jessehu/CHEF-ISSUE-1904sersut/backport-chef-1912Claire McQuin2014-10-021-1/+4
|/ | | | retry on HTTP 50X Error when calling Chef REST API
* Add the pending() guard to the 'when there's no reboot keys present' spec.Chris Doherty2014-09-291-2/+5
|
* DSCL resource says it doesn't support OS X below 10.7, so don't run it on 10.6.Chris Doherty2014-09-291-1/+2
|
* [11] Fix whyrun_safe_ruby_block regressionPhil Dibowitz2014-09-092-2/+53
| | | | `whyrun_safe_ruby_block` broke in the 11 changes.
* DscScript resource will raise an error if dsc is not availableJay Mundrawala2014-09-054-61/+122
|
* Merge pull request #1982 from opscode/sersut/user-dscl-fixSerdar Sutay2014-09-041-1/+2
| | | | Fix dscl user provider to be able to manage home and password at the same time.
* lcm parser is a lot more forgivingJay Mundrawala2014-09-041-27/+18
|
* configuration_generator_spec uses newer rspec conventionsJay Mundrawala2014-09-041-33/+31
|
* Added test for #generate_description in provider/dsc_script_specJay Mundrawala2014-09-031-0/+20
|
* Cleanup dsc_script_spec to use newer rspec conventionsJay Mundrawala2014-09-031-43/+40
|
* Merge pull request #1975 from opscode/platform/11-dscBryan McLellan2014-09-0310-0/+1286
|\ | | | | Platform/11 dsc
| * Make Chef::Util::Powershell::Cmdlet Ruby 1.8.7 friendlyBryan McLellan2014-09-031-6/+6
| | | | | | | | | | Use 1.8 hash syntax Explicitly convert the symbol to a string for comparison
| * Switch fileformat to unix, clean up whitespace.Bryan McLellan2014-09-035-588/+588
| | | | | | | | | | Converts a few files from CRLF->LF. Removes some trailing whitespace as well.
| * DSC functional tests with configuration data and parameterizationAdam Edwards2014-09-031-4/+225
| |
| * Correctly handle DSC resource import failures in start-dscconfiguration ↵Adam Edwards2014-09-032-2/+136
| | | | | | | | --what-if (load_current_resource) context
| * DSC spec platform detection via WMIAdam Edwards2014-09-034-3/+17
| |
| * Deal with LCM failing when a resource does not support WhatIfJay Mundrawala2014-09-032-20/+36
| |
| * Added unit test for powershell cmdletJay Mundrawala2014-09-031-0/+106
| |
| * DSC: Added test for dsc_script providerAdam Edwards2014-09-032-2/+126
| |
| * Added unit tests for configuration_generatorJay Mundrawala2014-09-031-0/+173
| |
| * Add configurationdata attribute supportAdam Edwards2014-09-031-8/+33
| |