Fast rspec page lookup
Debugging rspec tests? Need to look up page's content? save_and_open_page waaay too slow?
Here's a trick:
true.should be_false, page.find('body').native
Need the html? No problemos!
true.should be_false, "#{page.find('body').native}"
Written by Piotr
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#