summaryrefslogtreecommitdiff
path: root/spec/unit/resource
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-09-14 22:22:55 -0700
committerTim Smith <tsmith@chef.io>2018-09-14 22:22:55 -0700
commit2ba7faa003167620b818975247f8c0401a74c405 (patch)
tree1947d6c382aec6c0c2fee51adec4fe5cb6da2495 /spec/unit/resource
parent97fc6a7e948c4982f0b62d9d9162b1679e26cde6 (diff)
downloadchef-2ba7faa003167620b818975247f8c0401a74c405.tar.gz
Move subversion properties out of scm and into subversionscm
This way we're not polluting the git resource with the subversion properties. Cleans up our docs generation a bit. I added some property descriptions while I was in there. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/resource')
-rw-r--r--spec/unit/resource/scm_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/unit/resource/scm_spec.rb b/spec/unit/resource/scm_spec.rb
index d27e46e937..5478309a86 100644
--- a/spec/unit/resource/scm_spec.rb
+++ b/spec/unit/resource/scm_spec.rb
@@ -78,16 +78,6 @@ describe Chef::Resource::Scm do
expect(resource.group).to eq(23)
end
- it "has a svn_username String property" do
- resource.svn_username "moartestsplz"
- expect(resource.svn_username).to eql("moartestsplz")
- end
-
- it "has a svn_password String property" do
- resource.svn_password "taftplz"
- expect(resource.svn_password).to eql("taftplz")
- end
-
it "takes the depth as an integer for shallow clones" do
resource.depth 5
expect(resource.depth).to eq(5)