Sha256: 8c4e687a22db00f3f6e1c5bab4bfe58f5ee1181055d8b7452173a3796dd92a8f

Contents?: true

Size: 213 Bytes

Versions: 3

Compression:

Stored size: 213 Bytes

Contents

FactoryGirl.define do
  factory :tb_redirect do
    owner_type nil
    owner_id nil
    sequence(:source) { |n| "/test-#{n}" }
    sequence(:destination) { |n| "/redirected-#{n}" }
    created_by 'user'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_redirects-1.0.1 spec/factories/tb_redirects.rb
tb_redirects-1.0 spec/factories/tb_redirects.rb
tb_redirects-1.0.beta1 spec/factories/tb_redirects.rb