Sha256: de2594e932eca2af2af628116718393184821d16178f47b7a01665b13d3ee9d2

Contents?: true

Size: 226 Bytes

Versions: 7

Compression:

Stored size: 226 Bytes

Contents

RSpec.shared_examples_for 'a working factory' do
  it "builds successfully" do
    expect(build factory).to be_a(factory_class)
  end

  it "creates successfully" do
    expect(create factory).to be_a(factory_class)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_core-1.2.3 spec/support/concerns/working_factories.rb
solidus_core-1.2.2 spec/support/concerns/working_factories.rb
solidus_core-1.2.1 spec/support/concerns/working_factories.rb
solidus_core-1.2.0 spec/support/concerns/working_factories.rb
solidus_core-1.2.0.rc2 spec/support/concerns/working_factories.rb
solidus_core-1.2.0.rc1 spec/support/concerns/working_factories.rb
solidus_core-1.2.0.beta1 spec/support/concerns/working_factories.rb