update #reject_publish action

This commit is contained in:
Vokhmin Alexey V 2013-02-08 14:44:51 +04:00
parent 0c69326e80
commit 6a784f63da
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ class BuildList < ActiveRecord::Base
end
event :reject_publish do
transition :success => :rejected_publish, :if => :can_reject_publish?
transition [:success, :failed_publish, :tests_failed] => :rejected_publish, :if => :can_reject_publish?
end
event :build_success do