diff options
author | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-02-22 22:49:16 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-02-26 17:50:51 +0300 |
commit | 9a2869ab4674b8a6b94ec206660e083a00d4db37 (patch) | |
tree | 312031a3cf31c736e1e4f0d7090c7e1613e1a74c /spec/models/appearance_spec.rb | |
parent | bb3563b5cd063772fa16c934404e7912d9f3d726 (diff) |
Branded login page also in CE
The only major difference with the EE version is the change from a light and dark logo to only a header logo
The dark logo wasn't used anyway, so it seemed to make sense to me to rename the field to the actual function of it
Diffstat (limited to 'spec/models/appearance_spec.rb')
-rw-r--r-- | spec/models/appearance_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/models/appearance_spec.rb b/spec/models/appearance_spec.rb new file mode 100644 index 00000000000..c5658bd26e1 --- /dev/null +++ b/spec/models/appearance_spec.rb @@ -0,0 +1,10 @@ +require 'rails_helper' + +RSpec.describe Appearance, type: :model do + subject { create(:appearance) } + + it { is_expected.to be_valid } + + it { is_expected.to validate_presence_of(:title) } + it { is_expected.to validate_presence_of(:description) } +end |