<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -437,7 +437,7 @@ module LuckySneaks
       # valid for the specified attribute. This is most likely used with &lt;tt&gt;validates_format_of&lt;/tt&gt;
       # but there's nothing saying it couldn't be another validation.
       def it_should_accept_as_valid(attribute, *values)
-        values.each do |value|
+        values.flatten.each do |value|
           value_inspect = case value
             when String : &quot;'#{value}'&quot;
             when NilClass : &quot;nil&quot;
@@ -457,7 +457,7 @@ module LuckySneaks
       # spec'ing the actual error message.
       def it_should_not_accept_as_valid(attribute, *values)
         options = values.extract_options!
-        values.each do |value|
+        values.flatten.each do |value|
           value_inspect = case value
             when String : &quot;'#{value}'&quot;
             when NilClass : &quot;nil&quot;</diff>
      <filename>lib/lucky_sneaks/model_spec_helpers.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>84a8a39301c4560e7de22b25074a7db5b46332f9</id>
    </parent>
  </parents>
  <author>
    <name>J. Edward Dewyea</name>
    <email>jed@commuterdesign.com</email>
  </author>
  <url>http://github.com/rsl/skinny_spec/commit/f2957aa2d0f0332ea7644563f094b79a5551c297</url>
  <id>f2957aa2d0f0332ea7644563f094b79a5551c297</id>
  <committed-date>2009-04-06T09:28:24-07:00</committed-date>
  <authored-date>2009-04-03T11:06:05-07:00</authored-date>
  <message>allow array to be passed as values for it_should_accept_as_valid and its opposite

Signed-off-by: Russell Norris &lt;rsl@luckysneaks.com&gt;</message>
  <tree>6b1ba395fb4228404653bfa2dca95b84f6ee315f</tree>
  <committer>
    <name>Russell Norris</name>
    <email>rsl@luckysneaks.com</email>
  </committer>
</commit>
