Sha256: a3f42337e33e9b10b67c805332caf2add71cf3a6a0472b68e4c2c725c4ce6440
Contents?: true
Size: 424 Bytes
Versions: 8
Compression:
Stored size: 424 Bytes
Contents
# Read about factories at https://github.com/thoughtbot/factory_bot FactoryBot.define do factory :redirect_rule do active true source_is_regex false source '/catchy_thingy' destination 'http://www.example.com/products/1' factory :redirect_rule_regex do source_is_regex true source '[A-Za-z0-9_]+shiny\/([A-Za-z0-9_]+)' destination 'http://www.example.com/news/$1' end end end
Version data entries
8 entries across 8 versions & 1 rubygems