catstodon/spec/models/marker_spec.rb

10 lines
214 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Marker do
describe 'Validations' do
it { is_expected.to validate_inclusion_of(:timeline).in_array(described_class::TIMELINES) }
end
end