From 0e5172518c1660ae6fc139d792eddba78e156f20 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Fri, 10 Oct 2014 13:35:32 -0700 Subject: [PATCH] ignore puppet warnings during acceptance tests --- spec/acceptance/selenium_hub_spec.rb | 4 ++-- spec/acceptance/selenium_node_spec.rb | 4 ++-- spec/acceptance/selenium_server_spec.rb | 4 ++-- spec/acceptance/selenium_spec.rb | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/spec/acceptance/selenium_hub_spec.rb b/spec/acceptance/selenium_hub_spec.rb index c0d7bb2..238db0f 100644 --- a/spec/acceptance/selenium_hub_spec.rb +++ b/spec/acceptance/selenium_hub_spec.rb @@ -16,8 +16,8 @@ class { 'selenium::hub': } EOS # Run it twice and test for idempotency - expect(apply_manifest(pp, :catch_failures => true).stderr).to eq("") - expect(apply_manifest(pp, :catch_changes => true).stderr).to eq("") + apply_manifest(pp, :catch_failures => true) + apply_manifest(pp, :catch_changes => true) end end diff --git a/spec/acceptance/selenium_node_spec.rb b/spec/acceptance/selenium_node_spec.rb index 2270cc1..389c1ff 100644 --- a/spec/acceptance/selenium_node_spec.rb +++ b/spec/acceptance/selenium_node_spec.rb @@ -16,8 +16,8 @@ class { 'selenium::node': } EOS # Run it twice and test for idempotency - expect(apply_manifest(pp, :catch_failures => true).stderr).to eq("") - expect(apply_manifest(pp, :catch_changes => true).stderr).to eq("") + apply_manifest(pp, :catch_failures => true) + apply_manifest(pp, :catch_changes => true) end end diff --git a/spec/acceptance/selenium_server_spec.rb b/spec/acceptance/selenium_server_spec.rb index 9eaed09..92f1a8a 100644 --- a/spec/acceptance/selenium_server_spec.rb +++ b/spec/acceptance/selenium_server_spec.rb @@ -16,8 +16,8 @@ class { 'selenium::server': } EOS # Run it twice and test for idempotency - expect(apply_manifest(pp, :catch_failures => true).stderr).to eq("") - expect(apply_manifest(pp, :catch_changes => true).stderr).to eq("") + apply_manifest(pp, :catch_failures => true) + apply_manifest(pp, :catch_changes => true) end end diff --git a/spec/acceptance/selenium_spec.rb b/spec/acceptance/selenium_spec.rb index 0930e58..67461c7 100644 --- a/spec/acceptance/selenium_spec.rb +++ b/spec/acceptance/selenium_spec.rb @@ -12,8 +12,8 @@ class { 'selenium': } EOS # Run it twice and test for idempotency - expect(apply_manifest(pp, :catch_failures => true).stderr).to eq("") - expect(apply_manifest(pp, :catch_changes => true).stderr).to eq("") + apply_manifest(pp, :catch_failures => true) + apply_manifest(pp, :catch_changes => true) end end