Hi all,
Suppose I have a table that lists all of my products, that
includes a a somewhere in the first , and each product has its data held
within a . After updating a product's description, I want to write
something like:
within "tr#category#{category.id}" do
under_header
"Description" do |scope|
scope.contains "New Description"
end
end
in a
Cucumber/webrat feature definition or
response.should
have_tag("tr#category1") do
under_header "Description" do
text => "Howdy
end
end
in an RSpec spec. Is there anything like this available, any way
to search within a specific table column by specifying the header?
Cheers,
Shea
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users