mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 02:03:45 +08:00
b3d769ff4f
update rspec syntax to v3 change syntax to rspec v3 oops. fix typo mailers classes with rspec3 syntax helpers with rspec3 syntax jobs with rspec3 syntax serializers with rspec3 syntax views with rspec3 syntax support to rspec3 syntax category spec with rspec3 syntax
9 lines
193 B
Ruby
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
|