# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :ecm_staff_business_unit, class: Ecm::Staff::BusinessUnit do
    association :organisation, factory: :ecm_staff_organisation
    sequence(:name) { |i| "Business Unit ##{i}" }
  end
end

# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :ecm_staff_business_unit, class: Ecm::Staff::BusinessUnit do
    association :organisation, factory: :ecm_staff_organisation
    sequence(:name) { |i| "Business Unit ##{i}" }
    markup_language 'textile'
  end
end

Add missing attribute markup_language to business unit factory.
Add missing attribute markup_language to business unit factory.
