diff --git a/spec/defines/requirements_spec.rb b/spec/defines/requirements_spec.rb index 08abdbd9..daf56423 100644 --- a/spec/defines/requirements_spec.rb +++ b/spec/defines/requirements_spec.rb @@ -21,6 +21,10 @@ let (:params) {{ :requirements => "/requirements.txt" }} it { is_expected.to contain_file("/requirements.txt").with_mode('0644') } end + context "/requirements.txt" do + let (:params) {{ :requirements => "/requirements.txt", :manage_requirements => false }} + it { is_expected.not_to contain_file("/requirements.txt") } + end describe "with owner" do context "bob:bob" do