Revision 54831b81
Added by Lucas Tolchinsky over 14 years ago
- ID 54831b8187ce687cc5245d1327ca7b6c03371dba
test/functional/reports_controller_test.rb | ||
---|---|---|
:disk => "empty partition"
|
||
|
||
p = Puppet::Transaction::Report.new
|
||
p.logs << Logger.new("willWork")
|
||
# p.logs << Logger.new("willWork")
|
||
p.save
|
||
|
||
d = Date.today
|
||
... | ... | |
:disk => "empty partition"
|
||
|
||
p = Puppet::Transaction::Report.new
|
||
p.logs << Logger.new("lalala")
|
||
# p.logs << Logger.new("lalala")
|
||
p.save
|
||
|
||
@report = Report.create :host => h, :log => p, :reported_at => Date.new
|
Also available in: Unified diff
commented two Logger.new lines, they were creating log files.