summaryrefslogtreecommitdiff
path: root/spec/functional/resource/registry_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-051-66/+65
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-2/+2
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* 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-2/+2
| | | | | | | 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-1/+1
| | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518
* Disable broken registry_spec testsbtm/appveyorJay Mundrawala2014-12-161-1/+1
| | | | | | | | | | The registry_spec has been broken since we switched to rspec 3 :pending was running the tests, but expecting them to fail. There seems to be a bug where if there is a failure outside the test, in our case the before block was silently raising an exception accessing resource_name, the tests would fail as expected but rspec would return with an exit code of 1
* Fix some Windows specs.Claire McQuin2014-10-301-1/+1
|
* Update to RSpec 3.Claire McQuin2014-10-291-90/+90
|
* Correctly order setup of reporting state in registry specsDaniel DeLeo2014-02-191-5/+4
|
* fix should_not raise_error(SpecificException)Lamont Granquist2014-01-291-1/+1
|
* s/mock\(/double(/gLamont Granquist2014-01-291-2/+2
|
* s/stub!/stub/gLamont Granquist2014-01-291-4/+4
| | | | fix deprecation warnings
* use :each, because config is now reset after eachLamont Granquist2013-09-241-18/+4
| | | | - new code inserted resets in between the before(:all) + after(:all)
* CHEF-4344: Clean up instances of 'the the' typo.Bryan McLellan2013-07-261-1/+1
|
* Refactor of the protocol for initializing ResourceReporterjamesc2013-06-181-1/+0
| | | | | We now extract the node info from run_started, not node_load_completed so we now don't need to have a callback on node_load_completed
* The protocol for calling ResourceReporter has changed - nowjamesc2013-06-181-3/+8
| | | | | run_started() must be called as well in order to set up the state
* exclude 64 bit registry cleaning on 32bit11.0.0.beta.1danielsdeleo2013-01-281-4/+6
|
* Fixing formattingPrajaktaPurohit2013-01-281-6/+6
|
* changing tests to use new delete function to delete keysPrajaktaPurohit2013-01-281-12/+6
|
* Fixing tests as per changed codePrajaktaPurohit2012-12-191-2/+2
|
* Deleting comments, pp statements etc.PrajaktaPurohit2012-12-191-2/+1
|
* Correcting the author and copyright informationPrajaktaPurohit2012-12-191-0/+1
|
* Adding a condition to check the action(result in the reporting data)PrajaktaPurohit2012-12-191-3/+7
|
* reducing code duplicationLamont Granquist2012-12-191-216/+165
|
* Removing duplicate codePrajaktaPurohit2012-12-191-19/+12
|
* Refactoring the setup for whyrun tests.PrajaktaPurohit2012-12-191-18/+19
|
* Adding some whyrun testsPrajaktaPurohit2012-12-191-2/+132
|
* Deleting unwanted comments and minor name fixesPrajaktaPurohit2012-12-191-42/+5
|
* Adding reporting spec tests and some minor fixesPrajaktaPurohit2012-12-191-101/+242
|
* test for throwing exception on non-windows serverLamont Granquist2012-12-191-0/+19
|
* add a 64-bit testLamont Granquist2012-12-191-0/+29
|
* Adding whyrun support to the registry providerPrajaktaPurohit2012-12-191-2/+4
|
* largely cosmetic changesLamont Granquist2012-12-191-10/+16
|
* specifying 64-bit in constructor will fail on 32-bitLamont Granquist2012-12-191-1/+1
|
* Tests for windows platform onlyPrajaktaPurohit2012-12-191-1/+1
|
* Adding functional tests for the registry provider actionsPrajaktaPurohit2012-12-191-83/+229
|
* Modifying testsPrajaktaPurohit2012-12-191-114/+35
|
* Adding action create testsPrajaktaPurohit2012-12-191-134/+220
|
* Adding tests for the providerPrajaktaPurohit2012-12-191-0/+186