spec/helpers.rb in beaker-pe-0.2.0 vs spec/helpers.rb in beaker-pe-0.3.0

- old
+ new

@@ -81,9 +81,10 @@ host_hash = StringifyHash.new.merge(HOST_DEFAULTS.merge(host_hash)) host = make_opts.merge(host_hash) allow(host).to receive( :name ).and_return( name ) + allow(host).to receive( :hostname ).and_return( "#{name}.test" ) allow(host).to receive( :to_s ).and_return( name ) allow(host).to receive( :exec ).and_return( generate_result( name, host_hash ) ) host end