From d0c28d79f08d140df73d6a97acfc2705dd325ab7 Mon Sep 17 00:00:00 2001 From: evazion Date: Mon, 5 Aug 2019 13:41:06 -0500 Subject: [PATCH] tests: temp disable broken tests. Broken by bug in shoulda-context-1.2.2. Uncomment after upgrading to shoulda-context-2.0.0. --- test/unit/tag_alias_test.rb | 2 +- test/unit/tag_implication_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/tag_alias_test.rb b/test/unit/tag_alias_test.rb index 97046dc77..39ca38bf5 100644 --- a/test/unit/tag_alias_test.rb +++ b/test/unit/tag_alias_test.rb @@ -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 diff --git a/test/unit/tag_implication_test.rb b/test/unit/tag_implication_test.rb index 261abc0e3..f1a656d53 100644 --- a/test/unit/tag_implication_test.rb +++ b/test/unit/tag_implication_test.rb @@ -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