require 'helper' describe Bearcat::Client do it "sets the domain" do client = Bearcat::Client.new(domain: "http://canvas.instructure.com") client.config[:domain].should == "http://canvas.instructure.com" end it "sets the authtoken" do client = Bearcat::Client.new(token: "test_token") client.config[:token].should == "test_token" end end