Sha256: 8fbb56501d0bb5bf10f0076c8776b123e7c5c0571dfbb1179240e6b3a98a2e9a
Contents?: true
Size: 471 Bytes
Versions: 7
Compression:
Stored size: 471 Bytes
Contents
require 'test_helper' class SitemapPerformanceTest < ActionController::IntegrationTest include Cms::IntegrationTestHelper def setup given_a_site_exists end def test_homepage r = Benchmark.measure do get '/' end assert r.real < 1, "Should complete in under 1 sec. Was #{r.real}" end test "sitemap" do # Make me work someday #login_as_cms_admin # #puts Benchmark.measure do # get '/cms/sitemap' #end end end
Version data entries
7 entries across 7 versions & 1 rubygems