```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

  factory :user do
    email 'jimbob@example.com'
    password '123abcCatDog!'
    provider 'bnet'
    uid '123456'
    battletag 'jimbob#1234'
  end
end
```

Add Player 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

  factory :player do
    name 'zion'
  end

  factory :user do
    email 'jimbob@example.com'
    password '123abcCatDog!'
    provider 'bnet'
    uid '123456'
    battletag 'jimbob#1234'
  end
end
```
assistant