Sha256: 8492b12793cf1197a26dbc665cf0c87a50c173064522a6a22225fb0a00b45036

Contents?: true

Size: 511 Bytes

Versions: 201

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 == FactoryGirl::Evaluator }
end

Version data entries

201 entries across 93 versions & 7 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/factory_girl-3.0.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.5 vendor/bundle/gems/factory_girl-3.2.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.5 vendor/bundle/gems/factory_girl-3.3.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.4 vendor/bundle/gems/factory_girl-3.0.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.4 vendor/bundle/gems/factory_girl-3.2.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.4 vendor/bundle/gems/factory_girl-3.3.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.3 vendor/bundle/gems/factory_girl-3.0.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.3 vendor/bundle/gems/factory_girl-3.3.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.3 vendor/bundle/gems/factory_girl-3.2.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.2 vendor/bundle/gems/factory_girl-3.3.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.2 vendor/bundle/gems/factory_girl-3.0.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.2 vendor/bundle/gems/factory_girl-3.2.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.1 vendor/bundle/gems/factory_girl-3.2.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.1 vendor/bundle/gems/factory_girl-3.0.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.1 vendor/bundle/gems/factory_girl-3.3.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.0 vendor/bundle/gems/factory_girl-3.3.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.0 vendor/bundle/gems/factory_girl-3.0.0/spec/factory_girl/null_factory_spec.rb
classiccms-0.7.0 vendor/bundle/gems/factory_girl-3.2.0/spec/factory_girl/null_factory_spec.rb
challah-1.0.0.beta vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/null_factory_spec.rb
challah-0.9.1.beta.3 vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/null_factory_spec.rb