Sha256: 2d63ccc1537809c7fdc2fdf2f47e35927e56eb82c20b8e951fea120e3e7643c7
Contents?: true
Size: 619 Bytes
Versions: 1
Compression:
Stored size: 619 Bytes
Contents
require 'spec_helper' describe DeviseG5Authenticatable::Models::ProtectedAttributes do subject { model } let(:model_class) { User } let(:model) { model_class.new } it { should allow_mass_assignment_of(:email) } it { should allow_mass_assignment_of(:password) } it { should allow_mass_assignment_of(:password_confirmation) } it { should allow_mass_assignment_of(:provider) } it { should allow_mass_assignment_of(:uid) } it { should_not allow_mass_assignment_of(:g5_access_token) } it { should allow_mass_assignment_of(:current_password) } it { should allow_mass_assignment_of(:updated_by) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_g5_authenticatable-0.1.0 | spec/models/protected_attributes_spec.rb |