```ruby
FactoryGirl.define do
  factory :adaptation_variable, class: 'Adaptation::Variable' do
    name 'MyText'
    slug { (0...5).map { (65 + rand(26)).chr }.join }
  end
end
```

Use sequence instead of random in factory
user
```ruby
FactoryGirl.define do
  factory :adaptation_variable, class: 'Adaptation::Variable' do
    name 'MyText'
    sequence :slug { |n| ('aa'..'zz').to_a[n] }
  end
end
```
assistant