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:
evazion
2019-08-05 13:41:06 -05:00
parent 06ad1cbbc1
commit d0c28d79f0
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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