1 2 3 4 5 6 7 8 9 10 11 12 13
# Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :trigger_request do factory :trigger_request_with_variables do variables do { TRIGGER_KEY: 'TRIGGER_VALUE' } end end end end