You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
empty_class
setting server_facts
should contain Notify[servername-v85ix8blah.delivery.puppetlabs.net]
Finished in 0.13964 seconds (files took 0.82091 seconds to load)
1 example, 0 failures
Using PUPPET_VERSION='~> 5.3'
empty_class
setting server_facts
should contain Notify[servername-v85ix8blah.delivery.puppetlabs.net] (FAILED - 1)
Failures:
1) empty_class setting server_facts should contain Notify[servername-v85ix8blah.delivery.puppetlabs.net]
Failure/Error: it { is_expected.to contain_notify('servername-v85ix8blah.delivery.puppetlabs.net') }
Puppet::Error:
Attempt to assign to a reserved variable name:'server_facts' on node speedy03.tasty.bacon
# /home/user/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'# ./spec/classes/init_spec.rb:16:in `block (3 levels) in <top (required)>'# ------------------# --- Caused by: ---# Puppet::ParseError: # Attempt to assign to a reserved variable name: 'server_facts'# /home/user/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
Finished in 0.07855 seconds (files took 0.88445 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/classes/init_spec.rb:16 # empty_class setting server_facts should contain Notify[servername-v85ix8blah.delivery.puppetlabs.net]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters