Sha256: 517f3bf1511c8e07d78dd2b3dc5b7bae5061472a993221673b8fa03100f68c78

Contents?: true

Size: 511 Bytes

Versions: 16

Compression:

Stored size: 511 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) }
  it { should delegate(:constructor).to(:definition) }

  its(:compile)         { should be_nil }
  its(:class_name)      { should be_nil }
  its(:attributes)      { should be_an_instance_of(FactoryGirl::AttributeList) }
  its(:evaluator_class) { should eq FactoryGirl::Evaluator }
end

Version data entries

16 entries across 13 versions & 5 rubygems

Version Path
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/spec/factory_girl/null_factory_spec.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/factory_girl-4.5.0/spec/factory_girl/null_factory_spec.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/factory_girl-4.5.0/spec/factory_girl/null_factory_spec.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/factory_girl-4.5.0/spec/factory_girl/null_factory_spec.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/factory_girl-4.4.0/spec/factory_girl/null_factory_spec.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/factory_girl-4.4.0/spec/factory_girl/null_factory_spec.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/factory_girl-4.4.0/spec/factory_girl/null_factory_spec.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/factory_girl-4.4.0/spec/factory_girl/null_factory_spec.rb
factory_girl-4.5.0 spec/factory_girl/null_factory_spec.rb
factory_girl-4.4.0 spec/factory_girl/null_factory_spec.rb
factory_girl-4.3.0 spec/factory_girl/null_factory_spec.rb
challah-1.0.0 vendor/bundle/gems/factory_girl-4.2.0/spec/factory_girl/null_factory_spec.rb
challah-1.0.0.beta3 vendor/bundle/gems/factory_girl-4.2.0/spec/factory_girl/null_factory_spec.rb
challah-1.0.0.beta2 vendor/bundle/gems/factory_girl-4.2.0/spec/factory_girl/null_factory_spec.rb
challah-1.0.0.beta vendor/bundle/gems/factory_girl-4.2.0/spec/factory_girl/null_factory_spec.rb
factory_girl-4.2.0 spec/factory_girl/null_factory_spec.rb