On 30 August 2010 17:41, Colin Law wrote:
> On 30 August 2010 16:42, Chris Mear wrote:
>> On 27 August 2010 22:08, Colin Law wrote:
>>> I have the following html
>>> textvalue
>>> I can use
>>> assert_select "p>b", "text"
>>> to check the text portion, and
>>> assert_select "p", "value"
>>> to c
On 30 August 2010 16:42, Chris Mear wrote:
> On 27 August 2010 22:08, Colin Law wrote:
>> I have the following html
>> textvalue
>> I can use
>> assert_select "p>b", "text"
>> to check the text portion, and
>> assert_select "p", "value"
>> to check that the value appears in a . I cannot work out
On 27 August 2010 22:08, Colin Law wrote:
> I have the following html
> textvalue
> I can use
> assert_select "p>b", "text"
> to check the text portion, and
> assert_select "p", "value"
> to check that the value appears in a . I cannot work out how to
> check that the two are in the same . I hav
I have the following html
textvalue
I can use
assert_select "p>b", "text"
to check the text portion, and
assert_select "p", "value"
to check that the value appears in a . I cannot work out how to
check that the two are in the same . I have used assert_select for
much more complex tasks but my min
Can someone help with an assert_select problem please?
I have:
some textsome more text
I see how to use assert_select to check that the text in the paragraph
is "some textsome more text" and I can check that the paragraph
contains a break. I cannot see how to check that the break is at the
right
Hi,
Testing the view of an application with functional tests, how would one
go about checking that there are a certain number of elements
present on a page, which all belong to a certain class.
I tried:
assert_select "form" do
assert_select "span", :class=> "required_field", :co
Hello, all. This is short and simple. I have this statement in a
functional test:
assert_select 'input' do
assert_select "[name=?]", {:count => 0,:text =>/areas\[1\]/}
end
This assertion gives me the following:
1) Failure:
test_areas(SampleControllerTest)
[c:/ruby/lib/ruby/gem
7 matches
Mail list logo