discourse/spec/models/user_open_id_spec.rb

9 lines
193 B
Ruby

require 'spec_helper'
describe UserOpenId do
it { is_expected.to belong_to :user }
it { is_expected.to validate_presence_of :email }
it { is_expected.to validate_presence_of :url }
end