clarion/spec/models/user_spec.rb

8 lines
178 B
Ruby
Raw Permalink Normal View History

2019-04-28 21:10:54 +03:00
require "rails_helper"
2014-07-28 14:15:08 +03:00
RSpec.describe User do
2019-04-28 21:10:54 +03:00
it "lets Devise handle email and password validations" do
2014-07-28 14:15:08 +03:00
expect(build(:user)).to be_a Devise::Models::Validatable
end
end