engine/spec/factories.rb
2010-04-09 11:23:41 +02:00

18 lines
313 B
Ruby

## Site ##
Factory.define :site do |s|
s.name 'Acme Website'
s.subdomain 'acme'
s.created_at Time.now
end
## Accounts ##
# Factory.define :account do |a|
# a.name 'Bart Simpson'
# a.email 'bart@fox.com'
# a.password 'easyone'
# a.password_confirmation 'easyone'
# a.locale 'en'
# end
## Site ##