<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,14 +10,36 @@ module Spec
 
         attr_reader :request, :response
 
+        # The params hash accessed within a view or helper. Use this before
+        # rendering a view or calling a helper to provide data used by the
+        # view or helper.
+        #
+        # == Examples
+        #   # in a view spec
+        #   params[:name] = &quot;David&quot;
+        #   render
+        #   response.should have_tag(&quot;div.name&quot;,&quot;David&quot;)
+        #    
+        #   # in a helper spec
+        #   params[:first_name] = &quot;David&quot;
+        #   params[:last_name] = &quot;Chelimsky&quot;
+        #   helper.full_name.should == &quot;David Chelimsky&quot;
         def params
           request.parameters
         end
 
+        # Provides access to the flash hash. Use this after rendering a
+        # view, calling a helper or calling a controller action.
+        #
+        # == Examples
+        #   post :create
+        #   flash[:notice].should == &quot;Success!&quot;
         def flash
           @controller.__send__ :flash
         end
 
+        # Provides acces to the session hash. Use this before or after
+        # rendering a view, calling a helper or calling a controller action.
         def session
           request.session
         end</diff>
      <filename>lib/spec/rails/example/functional_example_group.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9c33984497af291799acb7395f38dec7fb11703e</id>
    </parent>
  </parents>
  <author>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </author>
  <url>http://github.com/dchelimsky/rspec-rails/commit/ee651339be3c295cb3ab2f318e6a1b808ae6ec92</url>
  <id>ee651339be3c295cb3ab2f318e6a1b808ae6ec92</id>
  <committed-date>2009-06-08T06:05:11-07:00</committed-date>
  <authored-date>2009-06-08T06:05:11-07:00</authored-date>
  <message>rdoc</message>
  <tree>4bde371c7c034c0de879f344de370613a40e1fc9</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </committer>
</commit>
