require 'rails_helper'

RSpec.describe "Courses", type: :request do
  describe "GET /courses" do
    it "works! (now write some real specs)" do
      get courses_path
      expect(response).to have_http_status(200)
    end
  end
end

require 'rails_helper'

# consider removing this entirely since we cover it in controller spec

RSpec.describe "Courses", type: :request do
  describe "GET /courses" do

    context "when not signed in" do
      it "redirects" do
        get courses_path
        expect(response).to have_http_status(302)
      end
    end
  end
end

Fix an issue with auth in our (likely pointless) request spec
Fix an issue with auth in our (likely pointless) request spec
