Sha256: aaf64b639ff3c604f91530c62566c1329807c5106f461706a92751a0d4684ec0
Contents?: true
Size: 514 Bytes
Versions: 13
Compression:
Stored size: 514 Bytes
Contents
require 'spec_helper' describe CustomFields::ProxyClassEnabler do context '#proxy klass' do before(:each) do @klass = Task.to_klass_with_custom_fields([]) end it 'does not be flagged as a inherited document' do @klass.new.hereditary?.should be_false end it 'has a list of custom fields' do @klass.custom_fields.should == [] end it 'has the exact same model name than its parent' do @klass.model_name.should == 'Task' end end end
Version data entries
13 entries across 13 versions & 2 rubygems