aliases/implications: remove 'error' state.
Remove the error status from aliases and implications. Aliases and implications normally shouldn't fail because they're validated beforehand. If they do, just let the delayed job itself record the failure. Also disable the delayed job from retrying if the alias/implication somehow fails.
This commit is contained in:
@@ -26,7 +26,6 @@ class TagAliasTest < ActiveSupport::TestCase
|
||||
|
||||
should allow_value('active').for(:status)
|
||||
should allow_value('deleted').for(:status)
|
||||
should allow_value('error: derp').for(:status)
|
||||
|
||||
should_not allow_value('ACTIVE').for(:status)
|
||||
should_not allow_value('error').for(:status)
|
||||
|
||||
@@ -22,7 +22,6 @@ class TagImplicationTest < ActiveSupport::TestCase
|
||||
|
||||
should allow_value('active').for(:status)
|
||||
should allow_value('deleted').for(:status)
|
||||
should allow_value('error: derp').for(:status)
|
||||
|
||||
should_not allow_value('ACTIVE').for(:status)
|
||||
should_not allow_value('error').for(:status)
|
||||
|
||||
Reference in New Issue
Block a user