Quantcast
Channel: Pragmatic Forums | Posts in topic 'page.source instead of page.body?'
Browsing all 42 articles
Browse latest View live

page.source instead of page.body? posted by James Hogue @ Tue, 30 Aug 2011...

I just started the book and was having the same problem. In particular the lineassert_match /Prawn/, page.bodyin test/integration/navigation_test.rb was giving the following erroroutput error : invalid...

View Article


page.source instead of page.body? posted by Fred Boldireff @ Sat, 05 Nov 2011...

Having a glance at how prawn is tested, I managed to make this initial test pass using latests versions of capybara (1.1.1) and prawn (0.12.0) by replacingassert_match /Prawn/, page.bodywithsrc_txt =...

View Article

Browsing all 42 articles
Browse latest View live