FactoryGirl.define do factory :communication_channel, parent: :lookup, class: 'Logistics::Core::CommunicationChannel' do type 'Logistics::Core::CommunicationChannel' end end