We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07d6f43 commit c85783aCopy full SHA for c85783a
1 file changed
spec/defines/requirements_spec.rb
@@ -19,10 +19,7 @@
19
describe "requirements as" do
20
context "/requirements.txt" do
21
let (:params) {{ :requirements => "/requirements.txt" }}
22
- it { is_expected.to contain_file("/requirements.txt").with(
23
- "mode" => "0644"
24
-
25
- )}
+ it { is_expected.to contain_file("/requirements.txt").with_mode('0644') }
26
end
27
28
describe "with owner" do
@@ -42,10 +39,7 @@
42
39
43
40
44
41
context "default" do
45
46
- "owner" => "root",
47
- "group" => "root"
48
+ it { is_expected.to contain_file("/requirements.txt").with_owner('root').with_group('root') }
49
50
51
0 commit comments