Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: fa6202cba2
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.579 kB
##
## Factories that have to do with setting up external_user_domains.
##
Factory.sequence(:name) { |n| "sakai-server#{n}" }
Factory.sequence(:description) { |n| "A test domain: sakai-server#{n}, representing an external sakai instance." }
Factory.sequence(:server_url) { |n| "http://sakai-server#{n}.edu" }
##
## Factory for external_user_domain
##
Factory.define :external_user_domain, :class => ExternalUserDomain do |eud|
eud.name { Factory.next(:name) }
eud.description { Factory.next(:description) }
eud.server_url { Factory.next(:server_url) }
end
Jump to Line
Something went wrong with that request. Please try again.