<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -29,6 +29,8 @@ Features
     * Creates helper tests for each helper you currently have, creating one test for
       each public method in the module. If you instead pass it a space separated set
       of helper module names you'll only generate tests for those.
+    * You can also pass it an option of `--skip-method-tests` and it won't create tests
+      for each of the helper methods.
 * __Helper Generator:__
     * Usage:
         * `script/generate helper HelperName [methods ...]`</diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -22,11 +22,21 @@ class HelperTestsGenerator &lt; Rails::Generator::Base
     def banner
       &quot;Usage: #{$0} #{spec.name} [SampleHelper Admin::AnotherHelper ...]&quot;
     end
+    
+    def add_options!(opt)
+      opt.separator ''
+      opt.separator 'Options:'
+      opt.on(&quot;--skip-method-tests&quot;,
+             &quot;Don't add test methods to the test-case file for the helpers&quot;) { |v| options[:skip_method_tests] = v }
+    end
   
   private
     def create_helper_test(manifest, helper_name)
       helper_file_name, helper_relative_dir, helper_full_name = extract_names_paths(helper_name)
-      helper_methods = helper_full_name.constantize.public_instance_methods
+      
+      unless options[:skip_method_tests]
+        helper_methods = helper_full_name.constantize.public_instance_methods
+      end
 
       manifest.class_collisions &quot;#{helper_full_name}Test&quot;
 </diff>
      <filename>generators/helper_tests/helper_tests_generator.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,11 @@
 require 'test_helper'
 
 class &lt;%= helper_full_name %&gt;Test &lt; ActionView::TestCase
+&lt;% unless options[:skip_method_tests] -%&gt;
 &lt;% for hmethod in helper_methods %&gt;
   def test_&lt;%= hmethod %&gt;
     flunk
   end
 &lt;% end %&gt;
+&lt;% end -%&gt;
 end</diff>
      <filename>generators/helper_tests/templates/helper_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6b0b6947e89389fcda62f5b18c6df0e37b29527d</id>
    </parent>
  </parents>
  <author>
    <name>Brian Landau</name>
    <email>brianjlandau@gmail.com</email>
  </author>
  <url>http://github.com/vigetlabs/helper_me_test/commit/74fd2d39b846795cc15721052f779d450e440a8d</url>
  <id>74fd2d39b846795cc15721052f779d450e440a8d</id>
  <committed-date>2008-07-03T12:59:33-07:00</committed-date>
  <authored-date>2008-07-03T12:59:33-07:00</authored-date>
  <message>Add option to not make tests for the helper methods</message>
  <tree>001c1cd6261f7ddb3bc8818eaf16ea7bfaf89a6a</tree>
  <committer>
    <name>Brian Landau</name>
    <email>brianjlandau@gmail.com</email>
  </committer>
</commit>
