Sha256: d86dc9ec6c51fd44e11ade7a89e962d26fbe5021a7624285c4b1a3b3ee2f6149

Contents?: true

Size: 559 Bytes

Versions: 23

Compression:

Stored size: 559 Bytes

Contents

require 'integration/spec_helper'

describe server(:proxy) do
  describe capybara('http://app.example.com') do
    it 'has content "app"' do
      visit '/'
      expect(page).to have_content('app')
    end
  end
  describe capybara('http://static.example.com') do
    it 'has content "static"' do
      visit '/'
      expect(page).to have_content('static')
    end
  end
end

describe server(:app) do
  describe capybara('http://app.example.com') do
    it 'has content "app"' do
      visit '/'
      expect(page).to have_content('app')
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
infrataster-0.3.2 spec/integration/capybara_spec.rb
infrataster-0.3.1 spec/integration/capybara_spec.rb
infrataster-0.3.0 spec/integration/capybara_spec.rb
infrataster-0.2.6 spec/integration/capybara_spec.rb
infrataster-0.2.5 spec/integration/capybara_spec.rb
infrataster-0.2.4 spec/integration/capybara_spec.rb
infrataster-0.2.3 spec/integration/capybara_spec.rb
infrataster-0.2.2 spec/integration/capybara_spec.rb
infrataster-0.2.1 spec/integration/capybara_spec.rb
infrataster-0.2.0 spec/integration/capybara_spec.rb
infrataster-0.2.0.beta1 spec/integration/capybara_spec.rb
infrataster-0.1.13 spec/integration/capybara_spec.rb
infrataster-0.1.12 spec/integration/capybara_spec.rb
infrataster-0.1.11 spec/integration/capybara_spec.rb
infrataster-0.1.10 spec/integration/capybara_spec.rb
infrataster-0.1.9 spec/integration/capybara_spec.rb
infrataster-0.1.8 spec/integration/capybara_spec.rb
infrataster-0.1.7 spec/integration/capybara_spec.rb
infrataster-0.1.6 spec/integration/capybara_spec.rb
infrataster-0.1.5 spec/integration/capybara_spec.rb