Displaying 1 result from an estimated 1 matches for "find_by_entity_name".
2009 Jan 09
1
Is there a problem with webrat?
...ndChild(m);f.submit();
};return false;">Destroy Entity</a>
</td>
</tr>
<tr>
<td colspan="1" style="width:40em;">This Is a Bare Entity</td>
</tr>
<\div>
I have this in my test:
my_entity = Entity.find_by_entity_name(
"my entity number #{row.hll_words_to_i}")
within("div#" + dom_id(my_entity, :list)) do
puts "within method executed for div"
end
within("div#" + dom_id(my_entity, :list)) do
click_link "Destroy Entity"
end
The firs...