be9aa7f194
This MR adds a string (thus max 255 chars) field to the enviroments table to expose it later in other features.
8 lines
234 B
Ruby
8 lines
234 B
Ruby
FactoryGirl.define do
|
|
factory :environment, class: Environment do
|
|
sequence(:name) { |n| "environment#{n}" }
|
|
|
|
project factory: :empty_project
|
|
sequence(:external_url) { |n| "https://env#{n}.example.gitlab.com" }
|
|
end
|
|
end
|