Sha256: 588a6f5f7749a904e1512d73633b14a7e0358c9993b569a0dad08d9e618db11a
Contents?: true
Size: 596 Bytes
Versions: 11
Compression:
Stored size: 596 Bytes
Contents
class GroupSitesDataset < Dataset::Base uses :pages def load create_record Site, :test, :name => 'Test Site', :domain => 'test', :base_domain => 'test.host', :position => 1, :mail_from_name => 'test sender', :mail_from_address => 'sender@spanner.org', :homepage_id => page_id(:home) create_record Site, :elsewhere, :name => 'Another Site', :domain => '^elsewhere', :base_domain => 'elsewhere.test.com', :position => 2 create_record Site, :default, :name => 'Default', :domain => '', :base_domain => 'spanner.org', :position => 3 Page.current_site = sites(:test) end end
Version data entries
11 entries across 11 versions & 1 rubygems