Feat: Article public apis (#4955)

This commit is contained in:
Tejaswini Chile
2022-07-08 17:24:38 +05:30
committed by GitHub
parent 13a4e0e6d9
commit fdf449dc87
19 changed files with 205 additions and 46 deletions

View File

@@ -11,7 +11,7 @@ RSpec.describe Category, type: :model do
it { is_expected.to belong_to(:portal) }
it { is_expected.to have_many(:articles) }
it { is_expected.to have_many(:sub_categories) }
it { is_expected.to have_many(:linked_categories) }
it { is_expected.to have_many(:associated_categories) }
it { is_expected.to have_many(:related_categories) }
end