Sha256: 1f124c4eac7f8404a05929c4c8849734ce27e18c4fd47a2d49a6af6b843aeee6

Contents?: true

Size: 445 Bytes

Versions: 2

Compression:

Stored size: 445 Bytes

Contents

require File.expand_path("../../spec_helper", __FILE__)

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

2 entries across 2 versions & 2 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-debug-extension-1.0.2/spec/models/env_dump_page_spec.rb
radiant-debug-extension-1.0.2 spec/models/env_dump_page_spec.rb