require 'rails_helper'
RSpec.describe Admin::DashboardController, type: :controller do
before do
session[:login] = true
end
describe "GET 'index'" do
it "returns http success" do
get 'index'
expect(response).to be_successful