Sha256: a54f291f7681a8e367e4cc4b188d07e99f30f7e09ce70b861b6cd3dad754d7d8
Contents?: true
Size: 376 Bytes
Versions: 2
Compression:
Stored size: 376 Bytes
Contents
require 'helper' describe Bearcat::Client do it "sets the domain" do client = Bearcat::Client.new(domain: "http://canvas.instructure.com") expect(client.config[:domain]).to eq("http://canvas.instructure.com") end it "sets the authtoken" do client = Bearcat::Client.new(token: "test_token") expect(client.config[:token]).to eq("test_token") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bearcat-0.1.1 | spec/bearcat/client_spec.rb |
bearcat-0.1 | spec/bearcat/client_spec.rb |