Sha256: f80ad7bd0a6fc890f196906c48eff465c5c1f8d44b07dd779ce380eb0e2d2e69

Contents?: true

Size: 630 Bytes

Versions: 5

Compression:

Stored size: 630 Bytes

Contents

# 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 'lists links to all other test functions' do
      visit '/reflector/'
      expect(page).to have_content 'Show Your'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
test_server-0.5.2 spec/views/test_server/reflector/index.html.haml_spec.rb
test_server-0.5.1 spec/views/test_server/reflector/index.html.haml_spec.rb
test_server-0.5.0 spec/views/test_server/reflector/index.html.haml_spec.rb
test_server-0.4.1 spec/views/test_server/reflector/index.html.haml_spec.rb
test_server-0.4.0 spec/views/test_server/reflector/index.html.haml_spec.rb