Lorem ipsum
# require "rubygems" # require "ruby-prof" ENV["RAILS_ENV"] ||= 'test' require "./" + File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) %w{sites pages layouts}.each do |collection| Mongoid.master.collection(collection).drop end puts "Starting test..." site = Site.create :name => 'Benchmark Website', :subdomain => 'benchmark' simple = site.pages.create :title => 'Simple', :slug => 'simple', :raw_template => %{