Sha256: 24bea68628b6c5e6e33ae6047c972aece0dd6c7c22d5965fb11df7925be16830

Contents?: true

Size: 194 Bytes

Versions: 62

Compression:

Stored size: 194 Bytes

Contents

FactoryGirl.define do
  factory :tenon_redirect, class: Tenon::Redirect do
    sequence(:title) { |n| "Test Page - #{n}" }
    'in' '\/on-the-floor\/(\d+-.*)'
    'out' '/posts/{0}'
  end
end


Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
tenon-1.0.22 lib/tenon/factories/redirects.rb
tenon-1.0.21 lib/tenon/factories/redirects.rb