<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,8 +8,7 @@ describe &quot;&lt;%= File.join(controller_class_path, controller_singular_name) %&gt;/form
       # :name =&gt; &quot;Foo&quot;, :address =&gt; &quot;815 Oceanic Drive&quot;
 &lt;% else -%&gt;
   &lt;%- attributes.each_with_index do |attribute, index| -%&gt;
-    &lt;%- case attribute.type -%&gt;
-      &lt;%- when :string, :text -%&gt;
+    &lt;%- case attribute.type when :string, :text -%&gt;
       :&lt;%= attribute.name %&gt; =&gt; &quot;foo&quot;&lt;%= index &lt; attributes.size - 1 ? &quot;,&quot; : &quot;&quot; %&gt;
       &lt;%- when :integer, :float, :decimal -%&gt;
       :&lt;%= attribute.name %&gt; =&gt; 815&lt;%= index &lt; attributes.size - 1 ? &quot;,&quot; : &quot;&quot; %&gt;</diff>
      <filename>generators/skinny_scaffold/templates/form.html_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,8 +8,7 @@ describe &quot;&lt;%= File.join(controller_class_path, controller_singular_name) %&gt;/_&lt;%=
       # :name =&gt; &quot;Foo&quot;, :created_at =&gt; 1.week.ago, :updated_at =&gt; nil
 &lt;% else -%&gt;
   &lt;%- attributes.each_with_index do |attribute, index| -%&gt;
-    &lt;%- case attribute.type -%&gt;
-      &lt;%- when :string, :text -%&gt;
+    &lt;%- case attribute.type when :string, :text -%&gt;
       :&lt;%= attribute.name %&gt; =&gt; &quot;foo&quot;&lt;%= index &lt; attributes.size - 1 ? &quot;,&quot; : &quot;&quot; %&gt;
       &lt;%- when :integer, :float, :decimal -%&gt;
       :&lt;%= attribute.name %&gt; =&gt; 815&lt;%= index &lt; attributes.size - 1 ? &quot;,&quot; : &quot;&quot; %&gt;</diff>
      <filename>generators/skinny_scaffold/templates/index_partial.html_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -7,8 +7,7 @@ describe &quot;&lt;%= File.join(controller_class_path, controller_singular_name) %&gt;/show
 &lt;% else -%&gt;
     @&lt;%= singular_name %&gt; = mock_and_assign(&lt;%= model_name %&gt;, :stub =&gt; {
   &lt;%- attributes.each_with_index do |attribute, index| -%&gt;
-    &lt;%- case attribute.type -%&gt;
-      &lt;%- when :string, :text -%&gt;
+    &lt;%- case attribute.type when :string, :text -%&gt;
       :&lt;%= attribute.name %&gt; =&gt; &quot;foo&quot;&lt;%= index &lt; attributes.size - 1 ? &quot;,&quot; : &quot;&quot; %&gt;
       &lt;%- when :integer, :float, :decimal -%&gt;
       :&lt;%= attribute.name %&gt; =&gt; 815&lt;%= index &lt; attributes.size - 1 ? &quot;,&quot; : &quot;&quot; %&gt;</diff>
      <filename>generators/skinny_scaffold/templates/show.html_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>242d8ab441207ca3371f54a3323469e5e3a80014</id>
    </parent>
  </parents>
  <author>
    <name>Russell Norris</name>
    <email>rsl@sneaky.local</email>
  </author>
  <url>http://github.com/rsl/skinny_spec/commit/ad131b15db3c630fcf0b0b7875c02c8fc262066f</url>
  <id>ad131b15db3c630fcf0b0b7875c02c8fc262066f</id>
  <committed-date>2009-02-09T04:50:29-08:00</committed-date>
  <authored-date>2009-02-09T04:50:29-08:00</authored-date>
  <message>fixed erb error with case statements</message>
  <tree>ae904d20270d88b07af88b84e5e75f2aeb463036</tree>
  <committer>
    <name>Russell Norris</name>
    <email>rsl@sneaky.local</email>
  </committer>
</commit>
