cartodb-4.29/spec/factories/search_tweets.rb
2020-06-15 10:58:47 +08:00

21 lines
614 B
Ruby

FactoryGirl.define do
to_create(&:save)
factory :search_tweet do
user_id nil
table_id '96a86fb7-0270-4255-a327-15410c2d49d4'
data_import_id '96a86fb7-0270-4255-a327-15410c2d49d4'
service_item_id '555'
retrieved_items 0
state ::SearchTweet::STATE_COMPLETE
end
factory :carto_search_tweet, class: Carto::SearchTweet do
table_id '96a86fb7-0270-4255-a327-15410c2d49d4'
data_import_id '96a86fb7-0270-4255-a327-15410c2d49d4'
service_item_id '555'
retrieved_items 0
state ::SearchTweet::STATE_COMPLETE
end
end