diff --git a/test/integration/default/serverspec/localhost/consul_spec.rb b/test/integration/default/serverspec/localhost/consul_spec.rb index 3028e541..75161787 100644 --- a/test/integration/default/serverspec/localhost/consul_spec.rb +++ b/test/integration/default/serverspec/localhost/consul_spec.rb @@ -33,7 +33,7 @@ describe 'config file attributes' do context command 'consul members -detailed' do - its(:stdout) { should match %r{\bdc=FortMeade\b} } + its(:stdout) { should match %r{\bdc=FortMeade\b}i } end end diff --git a/test/integration/default/serverspec/spec_helper.rb b/test/integration/default/serverspec/spec_helper.rb index f94e0e67..c0925118 100644 --- a/test/integration/default/serverspec/spec_helper.rb +++ b/test/integration/default/serverspec/spec_helper.rb @@ -1,5 +1,7 @@ require 'serverspec' +set :backend, :exec + RSpec.configure do |c| c.path = '/usr/local/bin:/sbin:/bin:/usr/bin' end diff --git a/test/integration/packages/serverspec/spec_helper.rb b/test/integration/packages/serverspec/spec_helper.rb index f94e0e67..c0925118 100644 --- a/test/integration/packages/serverspec/spec_helper.rb +++ b/test/integration/packages/serverspec/spec_helper.rb @@ -1,5 +1,7 @@ require 'serverspec' +set :backend, :exec + RSpec.configure do |c| c.path = '/usr/local/bin:/sbin:/bin:/usr/bin' end