# encoding: utf-8
# frozen_string_literal: true
RSpec.describe Warden::Test::Mock do
  before{ $captures = [] }
  after{ Warden.test_reset! }

  it "should return a valid mocked warden" do
    user = "A User"
    login_as user

    expect(warden.class).to eq(Warden::Proxy)
    expect(warden.user).to eq(user)
  end
end
