cartodb/spec/factories/notifications.rb

10 lines
250 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
require_relative '../../app/models/carto/widget'
FactoryGirl.define do
factory :notification, class: Carto::Notification do
icon Carto::Notification::ICON_ALERT
body 'Empty body'
recipients Carto::Notification::RECIPIENT_ALL
end
end