Revision 5d264a2d
Added by Ohad Levy over 12 years ago
- ID 5d264a2db100fd1ba7c505697076c4072698b094
test/unit/host_mailer_test.rb | ||
---|---|---|
@options[:env] = nil
|
||
@options[:factname] = "Kernel"
|
||
@options[:factvalue] = "Linux"
|
||
fn = Puppet::Rails::FactName.create :name => @options[:factname]
|
||
fn = FactName.create :name => @options[:factname]
|
||
FactValue.create :value => @options[:factvalue], :fact_name => fn, :host => @host
|
||
assert HostMailer.deliver_summary(@options).body.include?(@options[:factname])
|
||
end
|
Also available in: Unified diff
refactor - various facts cleanups