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