Sha256: 34198e9b7f6528e9a2c48eec4da9a3a4c8620e6152d88e95133ba137f9e7c7fd

Contents?: true

Size: 440 Bytes

Versions: 30

Compression:

Stored size: 440 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe EnvDumpPage do
  before :each do
    @request = ActionController::TestRequest.new :url => '/env_dump/'
    @page = EnvDumpPage.new
    @page.request = @request
  end

  it "should render the request environment" do
    @page.render.should =~ %r{=>}
    @page.render.should =~ %r{^<html><body><pre>}
  end

  it "should not be cached" do
    @page.cache?.should be_false
  end
end

Version data entries

30 entries across 30 versions & 5 rubygems

Version Path
radiant-debug-extension-1.0.1 spec/models/env_dump_page_spec.rb
kajam-1.0.3.rc2 vendor/extensions/debug/spec/models/env_dump_page_spec.rb
radiant-debug-extension-1.0.0 spec/models/env_dump_page_spec.rb
radiant-1.0.0.rc2 vendor/extensions/debug/spec/models/env_dump_page_spec.rb
radiant-1.0.0.rc1 vendor/extensions/debug/spec/models/env_dump_page_spec.rb
radiantcms-couchrest_model-0.2.4 spec/models/env_dump_page_spec.rb
radiantcms-couchrest_model-0.2.2 spec/models/env_dump_page_spec.rb
radiantcms-couchrest_model-0.2.1 spec/models/env_dump_page_spec.rb
radiantcms-couchrest_model-0.2 spec/models/env_dump_page_spec.rb
radiantcms-couchrest_model-0.1.9 spec/models/env_dump_page_spec.rb
radiantcms-couchrest_model-0.1.8 spec/models/env_dump_page_spec.rb
radiantcms-couchrest_model-0.1.7 spec/models/env_dump_page_spec.rb
radiantcms-couchrest_model-0.1.6 spec/models/env_dump_page_spec.rb
radiantcms-couchrest_model-0.1.5 spec/models/env_dump_page_spec.rb
radiantcms-couchrest_model-0.1.4 spec/models/env_dump_page_spec.rb
radiant-0.7.2 spec/models/env_dump_page_spec.rb
radiant-0.9.1 spec/models/env_dump_page_spec.rb
radiant-0.8.2 spec/models/env_dump_page_spec.rb
radiant-0.9.0.rc2 spec/models/env_dump_page_spec.rb
radiant-rc-0.9.0 spec/models/env_dump_page_spec.rb