Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does there exist an analog of "And show me the page" of cucumber?

Tags:

rspec

cucumber

I want to see html page during run of some view spec.

If I run Cucumber, I can use "And show me the page" for such purposes. Is it possible for Rspec?

like image 869
petRUShka Avatar asked Mar 12 '11 15:03

petRUShka


1 Answers

You can make use of the capybara and launchy gems and then use save_and_open_page as described in this post.

like image 180
raidfive Avatar answered Oct 04 '22 04:10

raidfive