summaryrefslogtreecommitdiff
path: root/spec/unit/provider/sudoers/sudoers.spec
blob: 1d94c8ea2eb16233723266fbbb4e146e0c54b76f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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