Sha256: f3e7d9ce6fb9d14a5ed424afad68ec4ef48336719cac7de8fd8ac696ef8bdde7
Contents?: true
Size: 507 Bytes
Versions: 3
Compression:
Stored size: 507 Bytes
Contents
require "spec_helper" describe FactoryGirl::NullFactory do it { should delegate(:defined_traits).to(:definition) } it { should delegate(:callbacks).to(:definition) } it { should delegate(:attributes).to(:definition) } its(:compile) { should be_nil } its(:class_name) { should be_nil } its(:default_strategy) { should == :create } its(:attributes) { should be_an_instance_of(FactoryGirl::AttributeList) } its(:evaluator_class) { should == FactoryGirl::Evaluator } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
factory_girl-2.4.2 | spec/factory_girl/null_factory_spec.rb |
factory_girl-2.4.1 | spec/factory_girl/null_factory_spec.rb |
factory_girl-2.4.0 | spec/factory_girl/null_factory_spec.rb |