summaryrefslogtreecommitdiff
path: root/spec/unit/resource/route_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix support for passing route type as a Stringroute_resourceTim Smith2018-10-291-2/+7
| | | | | | Add a test for this as well so we don't break it again later. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add additional resource specsTim Smith2018-05-161-9/+4
| | | | | | Auto generated from the resource inspector Signed-off-by: Tim Smith <tsmith@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-44/+42
| | | | | | | | | 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>
* fix specs broken by removal of state methodLamont Granquist2017-03-171-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/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-1/+1
| | | | | | | 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
|
* Add default_action and allowed_actions to Resource class, remove from LWRPJohn Keiser2015-06-011-1/+1
|
* updating resources/providers unit tests to rpsec3Lamont Granquist2014-10-241-19/+19
| | | | mechanically generated patch using transpec 2.3.7 gem
* fix should_not raise_error(SpecificException)Lamont Granquist2014-01-291-2/+2
|
* Normalize whitespace on all filesSeth Vargo2013-09-261-13/+13
|
* [CHEF-3332] Fixed: The route resource provider will always delete config ↵Xabier de Zuazo2013-05-241-1/+1
| | | | file even for :add action
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+107
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!