Hi
Was just using have_tag on an xml response and found the problem
outlined and resolved here
http://weblog.jamisbuck.org/2007/1/4/assert_xml_select
Just wondered if there is any support in rspec?
Cheers
Shane
Shane M.
ELC Technologies ™
PO Box 247
Santa Barbara, CA 93102
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: [email protected]
AIM: ShaneMingins
Skype: shane.mingins
(866) 863-7365 Tel - Santa Barbara Office
(866) 893-1902 Fax - Santa Barbara Office
+44 020 7504 1346 Tel - London Office
+44 020 7504 1347 Fax - London Office
Privacy and Confidentiality Notice:
The information contained in this electronic mail message is intended
for the named recipient(s) only. It may contain privileged and
confidential information. If you are not an intended recipient, you
must not copy, forward, distribute or take any action in reliance on
it. If you have received this electronic mail message in error,
please notify the sender immediately.
On 10/5/07, Shane M. [email protected] wrote:
Hi
Was just using have_tag on an xml response and found the problem outlined
and resolved here
Buckblog: assert_xml_select
Just wondered if there is any support in rspec?
Really?
I ran into that with Test::Unit/assert_select, but I was surprised and
pleased to discover that have_tag and with_tag didn’t seem to care
between
HTML and XML.
Prob should have mentioned that I am using 1.05 but have_tag just
wraps assert_select as far as I am aware.
On 6/10/2007, at 12:49 PM, Geoffrey W. wrote:
I ran into that with Test::Unit/assert_select, but I was surprised
and pleased to discover that have_tag and with_tag didn’t seem to
care between HTML and XML.
–
Geoffrey W.
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
Shane M.
ELC Technologies ™
PO Box 247
Santa Barbara, CA 93102
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: [email protected]
AIM: ShaneMingins
Skype: shane.mingins
(866) 863-7365 Tel - Santa Barbara Office
(866) 893-1902 Fax - Santa Barbara Office
+44 020 7504 1346 Tel - London Office
+44 020 7504 1347 Fax - London Office
Privacy and Confidentiality Notice:
The information contained in this electronic mail message is intended
for the named recipient(s) only. It may contain privileged and
confidential information. If you are not an intended recipient, you
must not copy, forward, distribute or take any action in reliance on
it. If you have received this electronic mail message in error,
please notify the sender immediately.
On 10/5/07, Shane M. [email protected] wrote:
Prob should have mentioned that I am using 1.05 but have_tag just wraps
assert_select as far as I am aware.
I know nothing about the whys and wherefores, and haven’t attempted to
look
at the code in this case, but on 1.0.8, have_tag and with_tag seem to
work
fine on XML for me, so … if upgrading is an option, might be worth a
shot.
I didn’t see any specific changes for have_tag though it could have just
not
been listed.
I’d push for 1.0.9 because it has story runner which by the way is
amazing
On 10/5/07, Geoffrey W. [email protected] wrote:
shot.
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
–
Monsterbox Productions
putting small businesses on-line
1319 Victoria Avenue East
Thunder Bay, Ontario P7C 1C3
Canada
Andrew WC Brown
web-developer and owner
[email protected]
P: 807-626-9009
F: 807-624-2705