Fix for server spec debian 8

This commit is contained in:
Dale McDiarmid 2015-11-27 22:52:36 +00:00
parent 6c4289b2df
commit 1034995899
4 changed files with 9 additions and 19 deletions

View file

@ -73,10 +73,5 @@ context "basic tests" do
its(:exit_status) { should eq 0 }
end
describe file('/usr/lib/systemd/system/node1_elasticsearch.service') do
it { should be_file }
it { should contain 'LimitMEMLOCK=infinity' }
end
end

View file

@ -156,16 +156,5 @@ context "basic tests" do
end
#Test server spec file has been created and modified
describe file('/usr/lib/systemd/system/master_elasticsearch.service') do
it { should be_file }
it { should contain 'LimitMEMLOCK=infinity' }
end
describe file('/usr/lib/systemd/system/node1_elasticsearch.service') do
it { should be_file }
it { should_not contain 'LimitMEMLOCK=infinity' }
end
end