jcasimir/draper — pull request #184 by cheald (2012-05-05 23:19:03+00:00)
Title: Add a TestRequest and params hash to Draper RSpec tests

The current Draper RSpec integration sets the view context to an instance of ApplicationController, but does so without a controller request, view context request, or params hash. This patch simply adds them, allowing decorators that use values from the calling request (ie, subdomain) or params hash to be properly tested with RSpec.