Skip to content

Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬

378 B
Raw Blame
FactoryBot.define do
  factory :captain_scenario, class: 'Captain::Scenario' do
    sequence(:title) { |n| "Scenario #{n}" }
    description { 'Test scenario description' }
    instruction { 'Test scenario instruction for the assistant to follow' }
    tools { [] }
    enabled { true }
    association :assistant, factory: :captain_assistant
    association :account
  end
end