How do I mock an IP address in cucumber/capybara?

Posted by Leventix on Stack Overflow See other posts from Stack Overflow or by Leventix
Published on 2010-06-08T10:18:22Z Indexed on 2010/06/08 10:22 UTC
Read the original article Hit count: 192

Filed under:
|
|

I'm using Cucumber and Capybara and I'd like a way to simulate the request IP address, like this:

Given the request ip address is "10.1.2.3"

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about cucumber