Sha256: 12be0f8f32904f4d6331e9fdb325dca4e6554faa0aa461956a9fd4d039addb57
Contents?: true
Size: 676 Bytes
Versions: 14
Compression:
Stored size: 676 Bytes
Contents
require 'helper' describe Desk::Client do context "Twitter Account" do let(:endpoint) { "twitter_account" } let(:id) { 1 } let(:check_key) { "handle" } let(:check_value) { "desk_dev" } include_context "basic configuration" it_behaves_like "a list endpoint" it_behaves_like "a show endpoint" context "Tweet" do let(:sub_endpoint) { "tweet" } let(:sub_id) { 1 } let(:check_key) { "body" } let(:check_value) { "Example tweet" } it_behaves_like "a sub list endpoint" it_behaves_like "a sub show endpoint" it_behaves_like "a sub create endpoint", { :body => "Example Tweet" } end end end
Version data entries
14 entries across 14 versions & 1 rubygems