2013-02-06 03:16:51 +08:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe UserOpenId do
|
|
|
|
|
2014-12-31 22:55:03 +08:00
|
|
|
it { is_expected.to belong_to :user }
|
|
|
|
it { is_expected.to validate_presence_of :email }
|
|
|
|
it { is_expected.to validate_presence_of :url }
|
2013-05-24 10:48:32 +08:00
|
|
|
end
|