template/factories.rb in maestrano-connector-rails-0.4.4 vs template/factories.rb in maestrano-connector-rails-1.0.0
- old
+ new
@@ -1,13 +1,15 @@
FactoryGirl.define do
factory :organization, class: Maestrano::Connector::Rails::Organization do
name "My company"
tenant "default"
+ sequence(:uid) { |n| "cld-11#{n}" }
+ oauth_uid 'sfuiy765'
+ oauth_provider 'this_app'
end
factory :idmap, class: Maestrano::Connector::Rails::IdMap do
- connec_id '6798-ada6-te43'
connec_entity 'person'
external_id '4567ada66'
external_entity 'contact'
last_push_to_external 2.day.ago
last_push_to_connec 1.day.ago
\ No newline at end of file