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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -