<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>spec_resources/helpers/addition_helper.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,10 +1,11 @@
 === Maintenance
 
-* 3 bug fixes
+* 4 bug fixes
 
   * require 'rubygems' in script/spec
 	* fix failure message for error_on and errors_on (Patch from Mike Vincent). Fixes #566.
 	* fix issues that arise in view spec if passing actual template name to render (Patch from Mike Vincent). Fixes #551.
+	* fixed bug accessing assigns from helper examples
 
 === Version 1.1.8 / 2008-10-03
 </diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -96,7 +96,11 @@ module Spec
         def helper
           self.class.helper
         end
-
+        
+        def orig_assigns
+          helper.assigns
+        end
+        
         # Reverse the load order so that custom helpers which are defined last
         # are also loaded last.
         ActionView::Base.included_modules.reverse.each do |mod|</diff>
      <filename>lib/spec/rails/example/helper_example_group.rb</filename>
    </modified>
    <modified>
      <diff>@@ -130,6 +130,19 @@ module Spec
           helper.protect_against_forgery?.should be_false
         end
       end
+      
+      describe HelperExampleGroup, &quot;#assigns&quot;, :type =&gt; :helper do
+        helper_name :addition
+        it &quot;should expose variables to helper&quot; do
+          assigns[:addend] = 3
+          helper.plus(4).should == 7
+        end
+
+        it &quot;should make helper ivars available in example&quot; do
+          assigns[:addend] = 3
+          assigns[:addend].should == 3
+        end
+      end
     end
   end
 end</diff>
      <filename>spec/rails/example/helper_spec_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -7,6 +7,7 @@ require File.expand_path(&quot;#{dir}/../spec_resources/controllers/render_spec_contr
 require File.expand_path(&quot;#{dir}/../spec_resources/controllers/rjs_spec_controller&quot;)
 require File.expand_path(&quot;#{dir}/../spec_resources/controllers/redirect_spec_controller&quot;)
 require File.expand_path(&quot;#{dir}/../spec_resources/controllers/action_view_base_spec_controller&quot;)
+require File.expand_path(&quot;#{dir}/../spec_resources/helpers/addition_helper&quot;)
 require File.expand_path(&quot;#{dir}/../spec_resources/helpers/explicit_helper&quot;)
 require File.expand_path(&quot;#{dir}/../spec_resources/helpers/more_explicit_helper&quot;)
 require File.expand_path(&quot;#{dir}/../spec_resources/helpers/view_spec_helper&quot;)</diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6bc02cf39e55a8da403a4171f3f6ce0210992867</id>
    </parent>
  </parents>
  <author>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </author>
  <url>http://github.com/dchelimsky/rspec-rails/commit/430b4f740ff5898f71d56978b339a0365247a3c7</url>
  <id>430b4f740ff5898f71d56978b339a0365247a3c7</id>
  <committed-date>2008-10-20T20:24:55-07:00</committed-date>
  <authored-date>2008-10-20T12:56:43-07:00</authored-date>
  <message>fixed bug accessing assigns from helper examples</message>
  <tree>6ca3f7c000ef26bfeee6c1e56abf9ce5eea2c895</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </committer>
</commit>
