fix specs

This commit is contained in:
Albert Yi
2018-09-04 13:37:50 -07:00
parent 0529ec9ad0
commit 8ec96f42f7
4 changed files with 4 additions and 5 deletions

View File

@@ -12,7 +12,6 @@ class TagImplication < TagRelationship
validate :consequent_is_not_aliased
validate :antecedent_and_consequent_are_different
validate :wiki_pages_present, :on => :create
scope :expired, ->{where("created_at < ?", 2.months.ago)}
scope :old, ->{where("created_at between ? and ?", 2.months.ago, 1.month.ago)}
scope :pending, ->{where(status: "pending")}