diff --git a/spec/acceptance/cs_primitive_spec.rb b/spec/acceptance/cs_primitive_spec.rb index 5899d4cc..6d735de8 100644 --- a/spec/acceptance/cs_primitive_spec.rb +++ b/spec/acceptance/cs_primitive_spec.rb @@ -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' @@ -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' @@ -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' @@ -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' @@ -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' @@ -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'