Skip to content

Commit db185e5

Browse files
committed
remove backend checks from each test (move to common)
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
1 parent 84b56e4 commit db185e5

4 files changed

Lines changed: 0 additions & 16 deletions

File tree

default/serverspec/os_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717

1818
require 'spec_helper'
1919

20-
RSpec.configure do |c|
21-
c.filter_run_excluding skipOn: backend(Serverspec::Commands::Base).check_os[:family]
22-
end
23-
2420

2521
describe command('find / -name \'.rhosts\' | wc -l ') do
2622
its(:stdout) { should match(/^0/) }

default/serverspec/sysctl_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717

1818
require 'spec_helper'
1919

20-
RSpec.configure do |c|
21-
c.filter_run_excluding skipOn: backend(Serverspec::Commands::Base).check_os[:family]
22-
end
23-
2420
describe 'IP V4 networking' do
2521

2622

lockdown/serverspec/os_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717

1818
require 'spec_helper'
1919

20-
RSpec.configure do |c|
21-
c.filter_run_excluding skipOn: backend(Serverspec::Commands::Base).check_os[:family]
22-
end
23-
2420

2521
describe command('find / -name \'.rhosts\' | wc -l ') do
2622
its(:stdout) { should match(/^0/) }

lockdown/serverspec/sysctl_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717

1818
require 'spec_helper'
1919

20-
RSpec.configure do |c|
21-
c.filter_run_excluding skipOn: backend(Serverspec::Commands::Base).check_os[:family]
22-
end
23-
2420
describe 'IP V4 networking' do
2521

2622

0 commit comments

Comments
 (0)