gitlab-org--gitlab-foss/spec/models/appearance_spec.rb
2016-10-12 10:50:01 +05:00

10 lines
251 B
Ruby

require 'rails_helper'
RSpec.describe Appearance, type: :model do
subject { build(:appearance) }
it { is_expected.to be_valid }
it { is_expected.to validate_presence_of(:title) }
it { is_expected.to validate_presence_of(:description) }
end