tests: temp disable broken tests.
Broken by bug in shoulda-context-1.2.2. Uncomment after upgrading to shoulda-context-2.0.0.
This commit is contained in:
@@ -42,7 +42,7 @@ class TagAliasTest < ActiveSupport::TestCase
|
||||
should allow_value(nil).for(:approver_id)
|
||||
should_not allow_value(-1).for(:approver_id).with_message("must exist", against: :approver)
|
||||
|
||||
should_not allow_value(nil).for(:creator_id)
|
||||
# should_not allow_value(nil).for(:creator_id) # XXX https://github.com/thoughtbot/shoulda-context/issues/53
|
||||
should_not allow_value(-1).for(:creator_id).with_message("must exist", against: :creator)
|
||||
|
||||
should "not allow duplicate active aliases" do
|
||||
|
||||
@@ -38,7 +38,7 @@ class TagImplicationTest < ActiveSupport::TestCase
|
||||
should allow_value(nil).for(:approver_id)
|
||||
should_not allow_value(-1).for(:approver_id).with_message("must exist", against: :approver)
|
||||
|
||||
should_not allow_value(nil).for(:creator_id)
|
||||
# should_not allow_value(nil).for(:creator_id) # XXX https://github.com/thoughtbot/shoulda-context/issues/53
|
||||
should_not allow_value(-1).for(:creator_id).with_message("must exist", against: :creator)
|
||||
|
||||
should "not allow duplicate active implications" do
|
||||
|
||||
Reference in New Issue
Block a user