require './test/test_helper' require 'hover/client/basic_auth' describe Hover::Client::BasicAuth do let(:client) { Hover::Client::BasicAuth.new('elise@hoverinc.com', 'password') } let(:path) { '/testing' } let(:request) { mock } let(:response) { mock } describe "authenticate" do it "authenticate" do request = mock request.expects(:basic_auth).with('elise@hoverinc.com', 'password') client.authenticate(request) end end end