Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added new file

  • Loading branch information...
commit d3cbf2b271a0d78eb610382fe4053904941111c6 1 parent e078c19
Dan Bode authored
Showing with 55 additions and 0 deletions.
  1. +55 −0 spec/unit/provider/sudoers/sudoers.spec
View
55 spec/unit/provider/sudoers/sudoers.spec
@@ -0,0 +1,55 @@
+describe_provider :vcsrepo, :git, :resource => {:path => '/tmp/vcsrepo'} do
+
+ context "parsing lines" do
+ context "should ignore empty lines" do
+
+ end
+ context "should ignore comment lines" do
+
+ end
+ context "parsing invalid lines" do
+
+ end
+ context "parsing alias lines" do
+
+ end
+ context "parsing user spec lines" do
+ context "prefetch comment NAMEVAR lines for user spec"
+ end
+ end
+ context "parsing defaults lines"
+
+ end
+ end
+
+ context "dissallow type changes" do
+ # not sure if this requires a type
+ end
+
+
+ context "Writing lines" do
+ context "write comment lines" do
+
+ end
+ context "write blank lines" do
+
+ end
+ context "write user alias lines" do
+
+ end
+ context "write user spec lines" do
+
+ end
+ context "write defaults lines" do
+
+ end
+ context "fail for invalid types" do
+
+ end
+ context "fail for invalid lines" do
+
+ end
+ end
+
+end
+
Please sign in to comment.
Something went wrong with that request. Please try again.