notification_service_fabricator.rb
339 Bytes
Fabricator :notification_service do
app!
room_id { sequence :word }
api_token { sequence :word }
subdomain { sequence :word }
end
%w(campfire gtalk hipchat hoiio pushover).each do |t|
Fabricator "#{t}_notification_service".to_sym, :from => :notification_service, :class_name => "NotificationService::#{t.camelcase}Service"
end