FactoryGirl.define do
  factory :raw_entity_id, class: EntityId do
    uri { "#{Faker::Internet.url}/shibboleth" }
    association :raw_entity_descriptor
  end
end

FactoryGirl.define do
  factory :raw_entity_id, class: 'EntityId' do
    uri { "#{Faker::Internet.url}/shibboleth" }
    association :raw_entity_descriptor
  end
end

Correct Factory bug identified by CI schema:load
Correct Factory bug identified by CI schema:load
