```ruby
FactoryGirl.define do
  factory :map do
    name "Dorado"
    map_type "escort"
  end

  factory :map_segment do
    map
    name "Attacking: Payload 1"
  end
end
```

Add Hero factory for tests
user
```ruby
FactoryGirl.define do
  factory :hero do
    name 'McCree'
    role 'offense'
  end

  factory :map do
    name 'Dorado'
    map_type 'escort'
  end

  factory :map_segment do
    map
    name 'Attacking: Payload 1'
  end
end
```
assistant