search for: frmsearch

Displaying 1 result from an estimated 1 matches for "frmsearch".

Did you mean: 2fresearch
2009 Apr 16
6
Cucumber - step negating another expecting step
...earch form$/ do > people_search_form_exists "not" > end > > and then the method: > > def people_search_form_exists negation = "" > neg = "_not" unless negation.blank? > response.send "should#{neg}".to_sym, have_tag(''form#frmSearch'') > end > > this is a simple case, but what do you think about this? any blog > post or so Yeah this is an annoying one isn''t it. I sometimes get around it by going old-skool and pulling out the Test::Unit assertion methods instead: Then /^I (should|should...