Skip to content

Commit

Permalink
Bla
Browse files Browse the repository at this point in the history
  • Loading branch information
towo committed Dec 28, 2021
1 parent 2f4a389 commit 2ea842a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/acceptance/cs_primitive_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class { 'corosync':
expect(r.stdout).to match(%r{is-managed.*false})
end
else
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
'show'
else
'config'
Expand All @@ -192,7 +192,7 @@ class { 'corosync':
expect(r.stdout).to match(%r{target-role.*stopped})
end
else
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
'show'
else
'config'
Expand Down Expand Up @@ -224,7 +224,7 @@ class { 'corosync':
expect(r.stdout).to match(%r{is-managed.*false})
end
else
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
'show'
else
'config'
Expand All @@ -241,7 +241,7 @@ class { 'corosync':
expect(r.stdout).to match(%r{target-role.*stopped})
end
else
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
'show'
else
'config'
Expand Down Expand Up @@ -274,7 +274,7 @@ class { 'corosync':
expect(r.stdout).not_to match(%r{is-managed.*false})
end
else
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
'show'
else
'config'
Expand All @@ -291,7 +291,7 @@ class { 'corosync':
expect(r.stdout).to match(%r{target-role.*stopped})
end
else
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
subcommand = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
'show'
else
'config'
Expand Down

0 comments on commit 2ea842a

Please sign in to comment.