Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
consider skipped as a completed state
Browse files Browse the repository at this point in the history
  • Loading branch information
Darren Hardy committed Dec 8, 2016
1 parent c62b475 commit 6edf707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dor/workflow/process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def status ; @attrs['status'] ; end
def note ; @attrs['note'] ; end
def version ; @attrs['version'] ; end
def priority ; @attrs['priority'] ; end
def completed? ; status == 'completed' ; end
def completed? ; %w(completed skipped).include?(status); end
def error? ; status == 'error' ; end
def waiting? ; status == 'waiting' ; end
def date_time ; @attrs['datetime'] ; end
Expand Down

0 comments on commit 6edf707

Please sign in to comment.