summaryrefslogtreecommitdiff
path: root/spec/acceptance/fqdn_rand_string_spec.rb
diff options
context:
space:
mode:
authorColleen Murphy <colleen@puppetlabs.com>2015-04-09 15:47:04 -0700
committerColleen Murphy <colleen@puppetlabs.com>2015-04-09 15:53:16 -0700
commite43f0582960707f8a7ff9f087ca2b521c1797a91 (patch)
treeaeff42542a2e7fecc47fb912b281c16388648266 /spec/acceptance/fqdn_rand_string_spec.rb
parentf2fa4fbd62b1cd10a25a19d7a8c4729b189e6312 (diff)
Fix unsupported platforms variable name in tests
unsupported_platforms is not a valid identifier, and trying to use it causes acceptance tests to error out before running any tests. The correct identifier for the unsupported platforms constants is UNSUPPORTED_PLATFORMS.
Diffstat (limited to 'spec/acceptance/fqdn_rand_string_spec.rb')
-rw-r--r--spec/acceptance/fqdn_rand_string_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/fqdn_rand_string_spec.rb b/spec/acceptance/fqdn_rand_string_spec.rb
index 0e79723..a934fbb 100644
--- a/spec/acceptance/fqdn_rand_string_spec.rb
+++ b/spec/acceptance/fqdn_rand_string_spec.rb
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby -S rspec
require 'spec_helper_acceptance'
-describe 'fqdn_rand_string function', :unless => unsupported_platforms.include?(fact('operatingsystem')) do
+describe 'fqdn_rand_string function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do
describe 'success' do
let(:facts_d) do
if fact('is_pe', '--puppet') == "true"