Sha256: 615abb9bcb4d3113546cd98b861afb316c9d6d429e938ab83d5838259a1c56b8

Contents?: true

Size: 188 Bytes

Versions: 65

Compression:

Stored size: 188 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :url_rewrite do
    from { URI.parse(Faker::Internet.url).path }
    to { Faker::Internet.url }
    active { true }
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
katalyst-koi-4.1.0 spec/factories/url_rewrites.rb
katalyst-koi-4.0.3 spec/factories/url_rewrites.rb
katalyst-koi-4.0.2 spec/factories/url_rewrites.rb
katalyst-koi-4.0.1 spec/factories/url_rewrites.rb
katalyst-koi-4.0.0 spec/factories/url_rewrites.rb