Sha256: fd669dd4c5c225906431ffef7e9f53785ba2cddef2e30c00c06cc20f37d3eba4
Contents?: true
Size: 481 Bytes
Versions: 13
Compression:
Stored size: 481 Bytes
Contents
describe Hubspot::Topic do before do Hubspot.configure(hapikey: "demo") end describe ".list" do cassette "topics_list" let(:topics) { Hubspot::Topic.list } it "should have a list of topics" do topics.count.should be(3) end end describe ".find_by_topic_id" do cassette "topics_list" it "should find a specific topic" do topic = Hubspot::Topic.find_by_topic_id(349001328) topic['id'].should eq(349001328) end end end
Version data entries
13 entries across 13 versions & 2 rubygems