<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -112,7 +112,7 @@ module Spec
           defaults = { :layout =&gt; false }
           options = defaults.merge options
 
-          @controller.instance_variable_set :@params, @request.parameters
+          @controller.send(:params).reverse_merge! @request.parameters
 
           @controller.send :initialize_current_url
 </diff>
      <filename>lib/spec/rails/example/view_example_group.rb</filename>
    </modified>
    <modified>
      <diff>@@ -208,6 +208,14 @@ describe &quot;A view&quot;, :type =&gt; :view do
   it &quot;should have access to flash data&quot; do
     response.should have_tag(&quot;div#flash&quot;, &quot;flash&quot;)
   end
+
+  it &quot;should have a controller param&quot; do
+    response.should have_tag(&quot;div#controller&quot;, &quot;view_spec&quot;)
+  end
+  
+  it &quot;should have an action param&quot; do
+    response.should have_tag(&quot;div#action&quot;, &quot;accessor&quot;)
+  end
 end
 
 describe &quot;A view with a form_tag&quot;, :type =&gt; :view do</diff>
      <filename>spec/rails/example/view_spec_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,5 @@
 &lt;div id=&quot;session&quot;&gt;&lt;%= session[:key] %&gt;&lt;/div&gt;
 &lt;div id=&quot;params&quot;&gt;&lt;%= params[:key] %&gt;&lt;/div&gt;
-&lt;div id=&quot;flash&quot;&gt;&lt;%= flash[:key] %&gt;&lt;/div&gt;
\ No newline at end of file
+&lt;div id=&quot;flash&quot;&gt;&lt;%= flash[:key] %&gt;&lt;/div&gt;
+&lt;div id=&quot;controller&quot;&gt;&lt;%= params[:controller] %&gt;&lt;/div&gt;
+&lt;div id=&quot;action&quot;&gt;&lt;%= params[:action] %&gt;&lt;/div&gt;</diff>
      <filename>spec_resources/views/view_spec/accessor.rhtml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2d5a4ff788a28b0c6d6fcf71786f5abe9df35298</id>
    </parent>
  </parents>
  <author>
    <name>Pat Maddox</name>
    <email>pat.maddox@gmail.com</email>
  </author>
  <url>http://github.com/ianwhite/rspec-rails/commit/236a48b8ad8e213a3bf38bac86855817383207af</url>
  <id>236a48b8ad8e213a3bf38bac86855817383207af</id>
  <committed-date>2008-04-04T13:28:04-07:00</committed-date>
  <authored-date>2008-04-04T13:28:04-07:00</authored-date>
  <message>make default params available to view specs</message>
  <tree>640df3e3c2e7f398a27b7d32f57aa00bd7b17d07</tree>
  <committer>
    <name>Pat Maddox</name>
    <email>pat.maddox@gmail.com</email>
  </committer>
</commit>
