# encoding: utf-8 require 'spec_helper' describe "reflector/client_ip_address.html.haml" do before :each do config = Class.new do include FeduxOrg::Stdlib::Filesystem def root_directory ::File.expand_path('../../../', __FILE__) end def log_level :unknown end def access_log File.join(working_directory, 'access.log') end end.new TestServer.config = config end context 'Reflect Client IP-Adress' do it 'shows client ip address' do visit '/reflector/client_ip_address' expect(page).to have_content '127.0.0.1' end end end