Sha256: e32a7da5d4422df0014d6fcf5eaed2867ec0f73aa971674bda72b10c0a726bc1

Contents?: true

Size: 231 Bytes

Versions: 19

Compression:

Stored size: 231 Bytes

Contents

FactoryGirl.define do
  factory :slider, class: Redditor::SliderBlock do
    after(:create) do |slider|
      3.times do
        create(:image, imageable_id: slider.id, imageable_type: slider.class.name)
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
redditor-0.1.22 spec/factories/redditor/sliders_factory.rb
redditor-0.1.20 spec/factories/redditor/sliders_factory.rb
redditor-0.1.17 spec/factories/redditor/sliders_factory.rb
redditor-0.1.16 spec/factories/redditor/sliders_factory.rb
redditor-0.1.15 spec/factories/redditor/sliders_factory.rb
redditor-0.1.14 spec/factories/redditor/sliders_factory.rb
redditor-0.1.12 spec/factories/redditor/sliders_factory.rb
redditor-0.1.11 spec/factories/redditor/sliders_factory.rb
redditor-0.1.10 spec/factories/redditor/sliders_factory.rb
redditor-0.1.9 spec/factories/redditor/sliders_factory.rb
redditor-0.1.8 spec/factories/redditor/sliders_factory.rb
redditor-0.1.7 spec/factories/redditor/sliders_factory.rb
redditor-0.1.6 spec/factories/redditor/sliders_factory.rb
redditor-0.1.5 spec/factories/redditor/sliders_factory.rb
redditor-0.1.4 spec/factories/redditor/sliders_factory.rb
redditor-0.1.3 spec/factories/redditor/sliders_factory.rb
redditor-0.1.2 spec/factories/redditor/sliders_factory.rb
redditor-0.1.1 spec/factories/redditor/sliders_factory.rb
redditor-0.1.0 spec/factories/redditor/sliders_factory.rb