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.1.8 lib/tenon/factories/redirects.rb
tenon-1.1.7 lib/tenon/factories/redirects.rb
tenon-1.1.6 lib/tenon/factories/redirects.rb
tenon-1.1.5 lib/tenon/factories/redirects.rb
tenon-1.1.4 lib/tenon/factories/redirects.rb
tenon-1.1.3 lib/tenon/factories/redirects.rb
tenon-1.1.2 lib/tenon/factories/redirects.rb
tenon-1.1.1 lib/tenon/factories/redirects.rb
tenon-1.0.76 lib/tenon/factories/redirects.rb
tenon-1.0.75 lib/tenon/factories/redirects.rb
tenon-1.0.74 lib/tenon/factories/redirects.rb
tenon-1.0.73 lib/tenon/factories/redirects.rb
tenon-1.0.72 lib/tenon/factories/redirects.rb
tenon-1.0.71 lib/tenon/factories/redirects.rb
tenon-1.0.70 lib/tenon/factories/redirects.rb
tenon-1.0.69 lib/tenon/factories/redirects.rb
tenon-1.0.68 lib/tenon/factories/redirects.rb
tenon-1.0.67 lib/tenon/factories/redirects.rb
tenon-1.0.66 lib/tenon/factories/redirects.rb
tenon-1.0.65 lib/tenon/factories/redirects.rb