rails shoulda matchers presence inclusion code example
Example: rspec model test inclusion
# if you use shoulda_matcher gem
expect(video).to validate_inclusion_of(:category).in_array(['Animals', 'Actions', 'Emotions', 'Food', 'Holidays ', 'Memes'])