require 'rails_helper'

RSpec.describe PagesController, type: :controller do
  describe 'GET #home' do
    it 'renders the Home view' do
      get :home
      expect(response).to render_template :home
    end
  end

  describe 'GET #history' do
    it 'renders the History view' do
      get :history
      expect(response).to render_template :history
    end
  end

  describe 'GET #contact' do
    it 'renders the Contact view' do
      get :contact
      expect(response).to render_template :contact
    end
  end
end

require 'rails_helper'

RSpec.describe PagesController, type: :controller do
  describe 'GET #home' do
    it 'renders the Home view' do
      get :home
      expect(response).to render_template :home
    end
  end

  describe 'GET #history' do
    it 'renders the History view' do
      get :history
      expect(response).to render_template :history
    end
  end

  describe 'GET #contact' do
    it 'renders the Contact view' do
      get :contact
      expect(response).to render_template :contact
    end
  end

  describe 'GET #beliefs' do
    it 'renders the Beliefs view' do
      get :beliefs
      expect(response).to render_template :beliefs
    end
  end
end

Add test for Beliefs page
Add test for Beliefs page
