summaryrefslogtreecommitdiff
path: root/spec/unit/resource/mount_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add additional resource specsTim Smith2018-05-161-18/+15
| | | | | | Auto generated from the resource inspector Signed-off-by: Tim Smith <tsmith@chef.io>
* Clean up mount provider teststm/6851Thom May2018-03-141-41/+0
| | | | Signed-off-by: Thom May <thom@chef.io>
* update mount to use properties and fix 6851Thom May2018-03-141-0/+4
| | | | Signed-off-by: Thom May <thom@chef.io>
* Remove useless class tests and cleanup specsresource_spec_cleanupTim Smith2018-01-201-6/+1
| | | | | | We create the class then instantly check that it's exactly what we created. There's not much value in that. This also converts more things over to let. Signed-off-by: Tim Smith <tsmith@chef.io>
* Cleanup for resource specsTim Smith2017-12-181-99/+97
| | | | | | | | | Convert everything to let and update the tense Nothing real magical here, but gets us one step closer to uniformity in the specs Signed-off-by: Tim Smith <tsmith@chef.io>
* password property of mount resurce is sensitiveDmitry Shestoperov2017-09-261-1/+1
| | | | Signed-off-by: Dmitry Shestoperov <dmitry@shestoperov.info>
* Revert "sensitive? returns true by default for password property"Dmitry Shestoperov2017-09-261-1/+1
| | | | | | This reverts commit 8242ac9f65f841030ba4a3cc3cc91a8208b3c4f8. Signed-off-by: Dmitry Shestoperov <dmitry@shestoperov.info>
* sensitive? returns true by default for password propertydmitrys2017-09-261-1/+1
| | | | Signed-off-by: dmitrys <dmitrys@northernlight.com>
* fix specs broken by removal of state methodLamont Granquist2017-03-171-3/+3
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Alias unmount to umount for mount resourceGrant Ridder2016-11-301-1/+2
| | | | | | | | Allows the usage of `action :unmount` to `umount` a mount point Closes https://github.com/chef/chef/issues/5595 Signed-off-by: Grant Ridder <shortdudey123@gmail.com>
* autofixing auto-inserted delimiterslcg/chefstyle-batchLamont Granquist2016-02-091-4/+4
|
* auto fixing some rubocopsLamont Granquist2016-02-091-4/+4
| | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall
* autofixing whitespace copsLamont Granquist2016-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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.
* Test updates for the changes to default actions.Noah Kantrowitz2015-06-291-1/+1
|
* updating resources/providers unit tests to rpsec3Lamont Granquist2014-10-241-45/+45
| | | | mechanically generated patch using transpec 2.3.7 gem
* CHEF-1737: Fix noauto support.markgibbons2014-08-211-0/+9
| | | | | Add fsck device support. Allow vxfs device types.
* Merge pull request #1356 from opscode/ssd/CHEF-5163Serdar Sutay2014-05-071-0/+11
|\ | | | | [CHEF-5163] Support lazy evaluation the mount resource's options attr
| * [CHEF-5163] Add tests for delayed evalutors in mount optionsSteven Danna2014-04-051-0/+11
| |
* | Fix rspec warningsdanielsdeleo2014-04-241-1/+0
|/
* fix should_not raise_error(SpecificException)Lamont Granquist2014-01-291-3/+3
|
* Normalize whitespace on all filesSeth Vargo2013-09-261-13/+13
|
* Added tests for mount - to support username, password and domainMukta A2013-06-111-0/+37
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+158
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!