saasbook

example_step_2_revisedB.rb

Mar 13th, 2014
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.15 KB | None | 0 0
  1. Then /^the "([^"]*)" field should contain "([^"]*)"$/ do |field, value|
  2.   field_value = field_labeled(field).value
  3.   field_value.should =~ /#{value}/
  4. end
Add Comment
Please, Sign In to add comment