Skip to content

Commit

Permalink
Merge pull request #432 from cmurphy/fix_acceptance_undefined_var
Browse files Browse the repository at this point in the history
Fix unsupported platforms variable name in tests
  • Loading branch information
Morgan Haskel committed Apr 9, 2015
2 parents f2fa4fb + e43f058 commit acf57bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/acceptance/fqdn_rand_base64_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby -S rspec
require 'spec_helper_acceptance'

describe 'fqdn_rand_base64 function', :unless => unsupported_platforms.include?(fact('operatingsystem')) do
describe 'fqdn_rand_base64 function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do
describe 'success' do
let(:facts_d) do
if fact('is_pe', '--puppet') == "true"
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/fqdn_rand_string_spec.rb
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit acf57bb

Please sign in to comment.