Project

General

Profile

« Previous | Next » 

Revision 1c039da8

Added by Ohad Levy almost 13 years ago

  • ID 1c039da84cbbad8b07cd9b1f6e9f15bc7720e3bf

fixes #930 - Skipped resources should not put systems in 'error' state

View differences:

test/unit/report_test.rb
assert @r.error?
end
test "it should not be an error if there are only skips" do
@r.status={"applied" => 92, "restarted" => 300, "failed" => 0, "failed_restarts" => 0, "skipped" => 3}
assert !@r.error?
end
test "it should false on error? if there were no errors" do
@r.status={"applied" => 92, "restarted" => 300, "failed" => 0, "failed_restarts" => 0, "skipped" => 0}
assert @r.error? == false
assert !@r.error?
end
test "with named scope should return our report with applied resources" do

Also available in: Unified diff