FactoryGirl.define do
  factory :card, class: Spells::Card do
    name ''
    text ''
  end
end

FactoryGirl.define do
  factory :card, class: Spells::Card do
    name 'Sample card'
    text ''
  end
end

Use a name for factory card.
Use a name for factory card.