From 38e8e7b31b1b9deb39019ef8a1607d494022fab3 Mon Sep 17 00:00:00 2001 From: varac Date: Mon, 19 Dec 2016 10:41:47 +0100 Subject: git subrepo pull files/puppet/modules/pixelated subrepo: subdir: "files/puppet/modules/pixelated" merged: "21f0340" upstream: origin: "https://github.com/pixelated/puppet-pixelated.git" branch: "master" commit: "21f0340" git-subrepo: version: "0.3.0" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "841aa43" --- files/puppet/modules/pixelated/spec/classes/tests_spec.rb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'files/puppet/modules/pixelated/spec') diff --git a/files/puppet/modules/pixelated/spec/classes/tests_spec.rb b/files/puppet/modules/pixelated/spec/classes/tests_spec.rb index eaf347c..be69cf2 100644 --- a/files/puppet/modules/pixelated/spec/classes/tests_spec.rb +++ b/files/puppet/modules/pixelated/spec/classes/tests_spec.rb @@ -11,13 +11,12 @@ describe 'pixelated::tests' do :testscenario => 'single_node', } end - + let!(:ensure_packages) { MockFunction.new('ensure_packages',{:type => :statement}) } let(:pre_condition) { [ "class stdlib {}", ] } - it do should contain_file('/srv/leap/tests_custom').with( 'ensure' => 'directory', @@ -31,11 +30,9 @@ describe 'pixelated::tests' do ) end - - it { should contain_file('/srv/leap/tests_custom/pixelated.rb')} it { should contain_file('/usr/local/bin/phantomjs')} - + it do should contain_exec('dummy_register_job').with( "require" => "Class[::Check_mk::Agent::Install]" @@ -43,7 +40,7 @@ describe 'pixelated::tests' do end it do should contain_cron('run_functional_tests').with( - "command" => """(date; INVITE_CODE_ENABLED=true /usr/bin/mk-job pixelated-functional-tests /usr/local/bin/behave --tags @staging --tags ~@wip --no-capture -k /srv/leap/tests_custom/functional-tests/) >> /var/log/check_mk_jobs.log 2>&1" + "command" => """(date; INVITE_CODE_ENABLED=true /usr/bin/mk-job pixelated-functional-tests /usr/local/bin/behave --stop --tags @staging --tags ~@wip --no-capture -k /srv/leap/tests_custom/functional-tests/) >> /var/log/check_mk_jobs.log 2>&1" ) end end -- cgit v1.2.3