ruby on rails - How to put capybara output html to a specific folder? -
When I use the "show me page" step, can I control it with capebara / cucumber? Where are the files output? I can not get the configuration for this, and my Google Fu is failing me.
It seems that by default, they go to the root of my railroad folder and pull things up there. In fact, there is a config option that specifies where to output the files:
Capibara.ave_to_and_open_page_path
I believe it was added to the latest version (0.3.9)
In your env.rb file you get some CAPABARA 2.10, : Save_and_open_page = CAPABAR:
has been disapproved. Instead, call
CAPABARA. Save_and_open_page_path = '/ user / jsblogger / my-rail-project / tmp'
capibara :: save_path =
Comments
Post a Comment