<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -165,11 +165,13 @@ Then /^I should not see \/([^\/]*)\/ within &quot;([^\&quot;]*)&quot;$/ do |regexp, selector|
 end
 
 Then /^the &quot;([^\&quot;]*)&quot; field should contain &quot;([^\&quot;]*)&quot;$/ do |field, value|
-  field_labeled(field).value.should =~ /#{value}/
+  regexp = Regexp.new(regexp)
+  field_labeled(field).value.should contain(regexp)
 end
 
 Then /^the &quot;([^\&quot;]*)&quot; field should not contain &quot;([^\&quot;]*)&quot;$/ do |field, value|
-  field_labeled(field).value.should_not =~ /#{value}/
+  regexp = Regexp.new(regexp)
+  field_labeled(field).value.should_not contain(regexp)
 end
 
 Then /^the &quot;([^\&quot;]*)&quot; checkbox should be checked$/ do |label|</diff>
      <filename>features/step_definitions/webrat_steps.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f3a3b205c93d565383e89bb6bce0aa47ef1a14b4</id>
    </parent>
  </parents>
  <author>
    <name>Daniel Morrison</name>
    <email>daniel@collectiveidea.com</email>
  </author>
  <url>http://github.com/talho/openphin/commit/bed2b6522d5267db92c4073d3c89c668539afda7</url>
  <id>bed2b6522d5267db92c4073d3c89c668539afda7</id>
  <committed-date>2009-10-29T16:47:08-07:00</committed-date>
  <authored-date>2009-10-29T16:47:08-07:00</authored-date>
  <message>Fixing webrat steps</message>
  <tree>c63ab4de7aafa4fdb7fd11f3341573ca75d82aa1</tree>
  <committer>
    <name>Daniel Morrison</name>
    <email>daniel@collectiveidea.com</email>
  </committer>
</commit>
