Sha256: f2be70e582cf29e7886fe42f02fbb599aa5ab256ea8819d03f22edc01ef58c43

Contents?: true

Size: 228 Bytes

Versions: 6

Compression:

Stored size: 228 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

6 entries across 6 versions & 1 rubygems

Version Path
solidus_core-1.3.2 spec/support/concerns/working_factories.rb
solidus_core-1.3.1 spec/support/concerns/working_factories.rb
solidus_core-1.3.0 spec/support/concerns/working_factories.rb
solidus_core-1.3.0.rc2 spec/support/concerns/working_factories.rb
solidus_core-1.3.0.rc1 spec/support/concerns/working_factories.rb
solidus_core-1.3.0.beta1 spec/support/concerns/working_factories.rb