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

page.source instead of page.body? posted by Andrew Wagner @ Tue, 16 Aug 2011...

Throughout the book, I’m finding that I frequently have to replace “page.body” in the navigation tests with “page.source”, in order to get them to pass. I’m not sure if this is some kind of version...

View Article



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 latest articles
Browse All 42 View Live




Latest Images