ruby - How to serve static files with capybara and cucumber -
i want run acceptance tests rss feed reader , need url atom or rss feed. ive got small file contains sample atom/rss , want access locally running webserver.
basically want add feed url input field:
http://localhost:8080/feed1.atom.xml
how serve example file under url?
maybe static file server, e.g. python 1 nice , fast:
→ python -m simplehttpserver 8080 serving http on 0.0.0.0 port 8080 ...
you need copy file @ feed1.atom.xml @ location start static file server.
Comments
Post a Comment