Sha256: db5a66767fc2a102519cb7cd21597aa16a589695ecb37ba39c50e245a9c6c8ab

Contents?: true

Size: 359 Bytes

Versions: 23

Compression:

Stored size: 359 Bytes

Contents

require 'rails_helper'

RSpec.describe User, type: :model do
  
  describe 'should have usual attributes' do
    it { should respond_to :name }
    
    it { should_not respond_to :language }
    it { should_not respond_to :spoken_languages }
    it { should_not respond_to :foreign_languages }
    it { should_not respond_to :native_languages }
  end
  
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
magic_locales-0.0.21 spec/models/user_spec.rb
magic_locales-0.0.20 spec/models/user_spec.rb
magic_locales-0.0.19 spec/models/user_spec.rb
magic_locales-0.0.18 spec/models/user_spec.rb
magic_locales-0.0.17 spec/models/user_spec.rb
magic_locales-0.0.17.beta2 spec/models/user_spec.rb
magic_locales-0.0.17.beta1 spec/models/user_spec.rb
magic_locales-0.0.16 spec/models/user_spec.rb
magic_locales-0.0.15 spec/models/user_spec.rb
magic_locales-0.0.14 spec/models/user_spec.rb
magic_locales-0.0.13 spec/models/user_spec.rb
magic_locales-0.0.12 spec/models/user_spec.rb
magic_locales-0.0.11 spec/models/user_spec.rb
magic_locales-0.0.10 spec/models/user_spec.rb
magic_locales-0.0.9 spec/models/user_spec.rb
magic_locales-0.0.8 spec/models/user_spec.rb
magic_locales-0.0.7 spec/models/user_spec.rb
magic_locales-0.0.6 spec/models/user_spec.rb
magic_locales-0.0.5 spec/models/user_spec.rb
magic_locales-0.0.4 spec/models/user_spec.rb