Commit 9ba3f9c6 authored by Lin Jen-Shin's avatar Lin Jen-Shin

We shouldn't skip create for geo data

I might get the wrong impression that they cannot be created
because locally I didn't have geo setup and I didn't realize
they're also activerecord objects
parent 490ae8a6
FactoryGirl.define do FactoryGirl.define do
factory :geo_event_log_state, class: Geo::EventLogState do factory :geo_event_log_state, class: Geo::EventLogState do
skip_create
sequence(:event_id) sequence(:event_id)
end end
end end
FactoryGirl.define do FactoryGirl.define do
factory :geo_project_registry, class: Geo::ProjectRegistry do factory :geo_project_registry, class: Geo::ProjectRegistry do
skip_create
project factory: :empty_project project factory: :empty_project
last_repository_synced_at nil last_repository_synced_at nil
last_repository_successful_sync_at nil last_repository_successful_sync_at nil
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment