Sha256: 37731d61f1974187410008ed5cc9e115f06016af20ce5a7e23e2988cbb8354f4
Contents?: true
Size: 644 Bytes
Versions: 14
Compression:
Stored size: 644 Bytes
Contents
require 'helper' describe Desk::Client do context "Label" do let(:endpoint) { "label" } let(:id) { 1 } let(:check_key) { "name" } let(:check_value) { "MyLabel" } include_context "basic configuration" it_behaves_like "a list endpoint" it_behaves_like "a show endpoint" it_behaves_like "a create endpoint", { :name => "MyLabel", :description => "A Test Label", :types => [ "case", "macro" ], :color => "blue" } it_behaves_like "an update endpoint", { :name => "Label 5" } do let(:check_value) { "Label 5" } end it_behaves_like "a delete endpoint" end end
Version data entries
14 entries across 14 versions & 1 rubygems