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.1.4 spec/integration/capybara_spec.rb
infrataster-0.1.3 spec/integration/capybara_spec.rb
infrataster-0.1.2 spec/integration/capybara_spec.rb