require "rails_helper"

describe "PagesController" do
  describe "GET /about", type: :request do
    it "renders successfully when logged out" do
      visit about_path
      expect(page).to have_content 'About'
    end
  end
  describe "GET /packagemanagercompatibility", type: :request do
    it "renders successfully when logged out" do
      visit compatibility_path
      expect(page).to have_content 'Package Manager Compatibility Matrix'
    end
  end
  describe "GET /team", type: :request do
    it "renders successfully when logged out" do
      visit team_path
      expect(page).to have_content 'Team'
    end
  end
  describe "GET /open-data", type: :request do
    it "renders successfully when logged out" do
      visit data_path
      expect(page).to have_content 'Open Data'
    end
  end
  describe "GET /experiments", type: :request do
    it "renders successfully when logged out" do
      visit data_path
      expect(page).to have_content 'Experiments'
    end
  end
end

require "rails_helper"

describe "PagesController" do
  describe "GET /about", type: :request do
    it "renders successfully when logged out" do
      visit about_path
      expect(page).to have_content 'About'
    end
  end
  describe "GET /packagemanagercompatibility", type: :request do
    it "renders successfully when logged out" do
      visit compatibility_path
      expect(page).to have_content 'Package Manager Compatibility Matrix'
    end
  end
  describe "GET /team", type: :request do
    it "renders successfully when logged out" do
      visit team_path
      expect(page).to have_content 'Team'
    end
  end
  describe "GET /open-data", type: :request, elasticsearch: true do
    it "renders successfully when logged out" do
      visit data_path
      expect(page).to have_content 'Open Data'
    end
  end
  describe "GET /experiments", type: :request, elasticsearch: true do
    it "renders successfully when logged out" do
      visit data_path
      expect(page).to have_content 'Experiments'
    end
  end
end

Fix a couple of test failures
Fix a couple of test failures
