Welcome to mirror list, hosted at ThFree Co, Russian Federation.

email_spec.rb « models « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5d0bd31db5af363aad82ba6242816e8d7dbe2f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
require 'spec_helper'

describe Email, models: true do

  describe 'validations' do
    it_behaves_like 'an object with email-formated attributes', :email do
      subject { build(:email) }
    end
  end

end