-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
They missed the _spec suffix so they weren't executed. They're also simplified to stop setting the apache_version parameter since it's ignored anyway.
- Loading branch information
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'spec_helper' | ||
|
||
describe 'apache::mod::lbmethod_byrequests', type: :class do | ||
context 'on a Debian OS' do | ||
include_examples 'Debian 11' | ||
|
||
it { | ||
Check failure on line 9 in spec/classes/mod/lbmethod_bybusyness_spec.rb GitHub Actions / Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Check failure on line 9 in spec/classes/mod/lbmethod_bybusyness_spec.rb GitHub Actions / Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
|
||
# rubocop:disable Layout/LineLength | ||
expect(subject).to contain_file('/etc/apache2/mods-enabled/lbmethod_byrequests.load').with('ensure' => 'file', | ||
'content' => "LoadModule lbmethod_byrequests_module /usr/lib/apache2/modules/mod_lbmethod_byrequests.so\n") | ||
# rubocop:enable Layout/LineLength | ||
} | ||
end | ||
end |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'spec_helper' | ||
|
||
describe 'apache::mod::lbmethod_byrequests', type: :class do | ||
context 'on a Debian OS' do | ||
include_examples 'Debian 11' | ||
|
||
it { | ||
Check failure on line 9 in spec/classes/mod/lbmethod_byrequests_spec.rb GitHub Actions / Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Check failure on line 9 in spec/classes/mod/lbmethod_byrequests_spec.rb GitHub Actions / Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
|
||
# rubocop:disable Layout/LineLength | ||
expect(subject).to contain_file('/etc/apache2/mods-enabled/lbmethod_byrequests.load').with('ensure' => 'file', | ||
'content' => "LoadModule lbmethod_byrequests_module /usr/lib/apache2/modules/mod_lbmethod_byrequests.so\n") | ||
# rubocop:enable Layout/LineLength | ||
} | ||
end | ||
end |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'spec_helper' | ||
|
||
describe 'apache::mod::lbmethod_byrequests', type: :class do | ||
context 'on a Debian OS' do | ||
include_examples 'Debian 11' | ||
|
||
it { | ||
Check failure on line 9 in spec/classes/mod/lbmethod_bytraffic_spec.rb GitHub Actions / Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Check failure on line 9 in spec/classes/mod/lbmethod_bytraffic_spec.rb GitHub Actions / Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
|
||
# rubocop:disable Layout/LineLength | ||
expect(subject).to contain_file('/etc/apache2/mods-enabled/lbmethod_byrequests.load').with('ensure' => 'file', | ||
'content' => "LoadModule lbmethod_byrequests_module /usr/lib/apache2/modules/mod_lbmethod_byrequests.so\n") | ||
# rubocop:enable Layout/LineLength | ||
} | ||
end | ||
end |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'spec_helper' | ||
|
||
describe 'apache::mod::lbmethod_byrequests', type: :class do | ||
context 'on a Debian OS' do | ||
include_examples 'Debian 11' | ||
|
||
it { | ||
Check failure on line 9 in spec/classes/mod/lbmethod_heartbeat_spec.rb GitHub Actions / Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Check failure on line 9 in spec/classes/mod/lbmethod_heartbeat_spec.rb GitHub Actions / Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
|
||
# rubocop:disable Layout/LineLength | ||
expect(subject).to contain_file('/etc/apache2/mods-enabled/lbmethod_byrequests.load').with('ensure' => 'file', | ||
'content' => "LoadModule lbmethod_byrequests_module /usr/lib/apache2/modules/mod_lbmethod_byrequests.so\n") | ||
# rubocop:enable Layout/LineLength | ||
} | ||
end | ||
end |