<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,9 +2,10 @@ When t(/^I select &quot;([^\&quot;]*)&quot; in the list &quot;([^\&quot;]*)&quot;$/) do |value, id|
   value_id = string_or_numeric_id(value)
   operator = list(id)
   idx = value_id.is_a?(String) ? operator.find_item_index(value_id) : value_id
+  raise &quot;Could not find item #{value_id} in list #{id}&quot; if idx &lt; 0
   operator.source.set_selected_index(idx)
 end
 
 Then t(/^I should have the list &quot;([^\&quot;]*)&quot; with &quot;([^\&quot;]*)&quot; selected$/) do |id, value|
   list(id).selected_value.should == value
-end
\ No newline at end of file
+end</diff>
      <filename>lib/swinger/step_definitions/list_steps.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>dde549a3d171fd091b741e351cc67158a7ceb279</id>
    </parent>
  </parents>
  <author>
    <name>demetriusnunes</name>
    <email>demetriusnunes@gmail.com</email>
  </author>
  <url>http://github.com/demetriusnunes/swinger/commit/8639b41a261c1e4fdc116b77960cfd0283183785</url>
  <id>8639b41a261c1e4fdc116b77960cfd0283183785</id>
  <committed-date>2009-10-01T21:17:32-07:00</committed-date>
  <authored-date>2009-10-01T21:17:32-07:00</authored-date>
  <message>fixing list step definition when it doesn't find an item</message>
  <tree>df85d94928236c4b15c4b6bf2daf3b8a4309debc</tree>
  <committer>
    <name>demetriusnunes</name>
    <email>demetriusnunes@gmail.com</email>
  </committer>
</commit>
