require 'rails_helper'

RSpec.describe Feeds::Notification, type: :model do
  context "validations" do
    it { should validate_presence_of(:message) }
    it { should validate_length_of(:message).is_at_most(140) }
  end

  context "#feed_kind" do
    it "should be notification" do
      notification = Feeds::Notification.new

      expect(notification.feed_kind).to eq("notification")
    end
  end
end
