Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1383 from opscode/lcg/CHEF-5015 | Serdar Sutay | 2014-05-07 | 1 | -0/+52 |
|\ | | | | | Lcg/chef 5015 | ||||
| * | add func tests for CHEF-5015 | Lamont Granquist | 2014-04-17 | 1 | -0/+52 |
| | | |||||
* | | Make indentable print() function more intelligible | John Keiser | 2014-05-02 | 1 | -2/+2 |
| | | |||||
* | | Fix warnings caused by reloading Config | danielsdeleo | 2014-04-24 | 1 | -0/+7 |
| | | |||||
* | | Merge: Get local mode passing against chef-pedant | John Keiser | 2014-04-23 | 3 | -0/+211 |
|\ \ | |||||
| * | | Run Pedant against local mode in Travis | John Keiser | 2014-04-22 | 3 | -0/+211 |
| | | | |||||
* | | | CHEF-5100: moar func tests | Lamont Granquist | 2014-04-22 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | This tests the reuse of the content length validation object and the situation where the content length of a previous download is retained while a 403 or other HTTP error fails to re-init the content length to zero. The result is the 403 is turned into an inaccurate content length exception, masking the real error. | ||||
* | | | wrap methods in a module | Lamont Granquist | 2014-04-21 | 1 | -112/+115 |
| | | | |||||
* | | | CHEF-5198: adding func tests for Chef::HTTP clients | Lamont Granquist | 2014-04-11 | 1 | -0/+216 |
|/ / | | | | | | | | | | | | | | | Start of func tests for Chef::REST and Chef::HTTP::Simple - Chef::REST is missing func tests against JSON endpoints using simple GET requests - HEAD and POST requests are also still missing, etc. | ||||
* | | CR feedback: move command evaluation to guard interpreter | Adam Edwards | 2014-03-29 | 1 | -1/+1 |
| | | |||||
* | | CR feedback: move inheritance to class level, add tests for convert_boolean_true | Adam Edwards | 2014-03-29 | 1 | -0/+7 |
| | | |||||
* | | Fix namespacing issues caused by moving guard_interpreter logic out of ↵ | Adam Edwards | 2014-03-29 | 1 | -2/+2 |
| | | | | | | | | Chef::Resource | ||||
* | | CR feedback: refactor guard interpreter logic out of Resource into Conditional | Adam Edwards | 2014-03-29 | 1 | -2/+2 |
| | | |||||
* | | Guard resource new specs and spec fixes | Adam Edwards | 2014-03-29 | 1 | -0/+31 |
| | | |||||
* | | Remove extraneous character that breaks test cleanup | Adam Edwards | 2014-03-29 | 1 | -1/+1 |
|/ | |||||
* | Upgrade Chef Zero & remove Puma | Seth Vargo | 2014-03-12 | 2 | -0/+43 |
| | | | | | | | This commit upgrades Chef Zero to version 2.0.0, which removed Puma entirely. Chef no longer requires Puma at runtime, so it can be moved into the development gem group. Chef Zero 2.0 runs entirely in WEBrick and also uses less memory and a more direct threading approach. | ||||
* | Remove the unneeded running of "os" plugin. | sersut | 2014-03-07 | 1 | -1/+1 |
| | |||||
* | Fix chef spec infra to use OHAI correctly. | sersut | 2014-03-07 | 1 | -2/+1 |
| | |||||
* | Describe resource cloning behaviors in recipe specs. | danielsdeleo | 2014-02-19 | 1 | -0/+1 |
| | | | | | Includes two regression tests for CHEF-5052, marked pending until the fix for that issue is merged. | ||||
* | Expose resource creation via more static methods | danielsdeleo | 2014-02-03 | 1 | -1/+1 |
| | |||||
* | Update file providers to close before unlinking. | danielsdeleo | 2014-02-03 | 1 | -0/+1 |
| | | | | | | | | This is required on windows, but the Tempfile implementation hides this and silently ignores the error, meaning that we're leaving tempfiles around on windows after we thought we'd cleaned them up. Eventually GC would get to them, but this won't happen if there is a severe crash or something calls `Kernel.exit!`, so we prefer to clean up manually. | ||||
* | Close before unlink because windows | danielsdeleo | 2014-02-03 | 1 | -8/+11 |
| | |||||
* | Use custom tempfile to avoid ruby 1.8-related test failures | danielsdeleo | 2014-02-03 | 1 | -1/+26 |
| | | | | | | Tempfile in ruby 1.8.7 calls `File.exist?()`, which we set a stub on. For reasons that are not clear, this does not consistently fail. In any case, using a custom temporary file implementation resolves the issue. | ||||
* | Merge pull request #1238 from opscode/lcg/rspec-2.14-deprecation-warnings | lamont-granquist | 2014-01-30 | 5 | -41/+51 |
|\ | | | | | Lcg/rspec 2.14 deprecation warnings | ||||
| * | fix broken file provider specs | Lamont Granquist | 2014-01-29 | 1 | -0/+10 |
| | | | | | | | | | | fixing the should_not raise_error(Whatever) specs exposed that these were broken. | ||||
| * | fix should_not raise_error(SpecificException) | Lamont Granquist | 2014-01-29 | 2 | -3/+3 |
| | | |||||
| * | the perils of regexp-based code editing | Lamont Granquist | 2014-01-29 | 1 | -1/+1 |
| | | |||||
| * | s/mock\(/double(/g | Lamont Granquist | 2014-01-29 | 3 | -14/+14 |
| | | |||||
| * | s/stub!/stub/g | Lamont Granquist | 2014-01-29 | 4 | -25/+25 |
| | | | | | | | | fix deprecation warnings | ||||
* | | Remove crufty require of pry | Bryan McLellan | 2014-01-30 | 1 | -2/+0 |
|/ | |||||
* | Restore checksums in the output. | sersut | 2014-01-17 | 1 | -10/+22 |
| | |||||
* | Merge remote-tracking branch 'goodmanio/CHEF-4639' into CHEF-4639-updated | sersut | 2014-01-17 | 1 | -43/+71 |
|\ | |||||
| * | fixed 1.8.7 incompatability issue; removed `pry` import | Allen Goodman | 2013-12-19 | 1 | -4/+1 |
| | | |||||
| * | fixes CHEF-4639 | Allen Goodman | 2013-12-06 | 1 | -10/+15 |
| | | |||||
| * | Refactor | Allen Goodman | 2013-11-18 | 1 | -44/+70 |
| | | |||||
* | | Add support for Windows domain join spec filter | Adam Edwards | 2014-01-13 | 1 | -1/+7 |
| | | |||||
* | | Merge pull request #1111 from opscode/lcg/OC-10380 | lamont-granquist | 2013-11-22 | 1 | -43/+181 |
|\ \ | | | | | | | OC-10380: skip checksumming for no-content files | ||||
| * | | fix windows pathing issue in spec tests | Lamont Granquist | 2013-11-21 | 1 | -38/+51 |
| | | | |||||
| * | | spec tests for checksum | Lamont Granquist | 2013-11-11 | 1 | -43/+146 |
| | | | | | | | | | | | | | | | - plus stubbing of things that weren't stubed - and changing stub! to stub | ||||
| * | | OC-10380: add polymorphism | Lamont Granquist | 2013-11-11 | 1 | -1/+1 |
| | | | |||||
| * | | OC-10380: skip checksumming for no-content files | Lamont Granquist | 2013-11-11 | 1 | -0/+22 |
| |/ | |||||
* | | Turn off functional group resource tests on MacOSX 10.6 due to caching issue ↵ | sersut | 2013-11-19 | 1 | -0/+16 |
| | | | | | | | | on Etc.getgrnam() on certain boxes. | ||||
* | | Better root checks and better naming for group account in functional group ↵ | sersut | 2013-11-14 | 1 | -1/+2 |
| | | | | | | | | tests. | ||||
* | | Specs for CHEF-3297. TDD rules. | sersut | 2013-11-11 | 1 | -0/+4 |
|/ | |||||
* | CHEF-3582: Fix #check_lock under why-run | Bryan McLellan | 2013-11-06 | 1 | -0/+18 |
| | | | | | | | | | We assume in whyrun mode that a non-existant user would be created before we attempt to lock it, so we return false from #check_lock when user does not exist and we are in why_run mode. Conflicts: chef/lib/chef/provider/user/useradd.rb | ||||
* | When reporting a resource, before and after should always be a hash | jamesc | 2013-10-15 | 1 | -0/+37 |
| | | | | | | | | | | | | If a Resource (or LWRP) overrides Resource#state (meaning to set an attribute named state) this collides with the state function used to gather up the state_attrs Fix this by not using Resource#state, but copying that logic into ResourceReporter#state. Leaving Resource#state as it's used by other things. A full fix so LWRPs can't override functions in Resource is in scope for Chef 12 | ||||
* | Add tests for start_chef_zero parameter in knife | John Keiser | 2013-10-02 | 1 | -1/+1 |
| | |||||
* | Fix the annoying warning when running specs on windows. | sersut | 2013-09-30 | 1 | -0/+48 |
| | |||||
* | Fix CHEF-4419 by appending a drive letter from the current working directory ↵ | sersut | 2013-09-30 | 1 | -0/+37 |
| | | | | to the path if it starts with '/' in the most common code path we're encountering this issue. | ||||
* | Normalize whitespace on all files | Seth Vargo | 2013-09-26 | 5 | -27/+27 |
| |