Sha256: 8ac4f9524384338566d33c4d858ef523361b48c6cdf5ff081aa09d6c88b85ea0

Contents?: true

Size: 543 Bytes

Versions: 14

Compression:

Stored size: 543 Bytes

Contents

require 'helper'

describe Desk::Client do
  context "Filter" do

    let(:endpoint) { "filter" }
    let(:id) { 1 }
    let(:check_key) { "name" }
    let(:check_value) { "My Active Cases" }

    include_context "basic configuration"

    it_behaves_like "a list endpoint"

    it_behaves_like "a show endpoint"

    context "Case" do

      let(:sub_endpoint) { "case" }
      let(:sub_id) { 1 }
      let(:check_key) { "subject" }
      let(:check_value) { "Welcome" }

      it_behaves_like "a sub list endpoint", false

    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
desk-1.2.0 spec/desk/client/filter_spec.rb
desk-1.1.1 spec/desk/client/filter_spec.rb
desk-1.1.0 spec/desk/client/filter_spec.rb
desk-1.0.10 spec/desk/client/filter_spec.rb
desk-1.0.9 spec/desk/client/filter_spec.rb
desk-1.0.8 spec/desk/client/filter_spec.rb
desk-1.0.7 spec/desk/client/filter_spec.rb
desk-1.0.6 spec/desk/client/filter_spec.rb
desk-1.0.5 spec/desk/client/filter_spec.rb
desk-1.0.4 spec/desk/client/filter_spec.rb
desk-1.0.3 spec/desk/client/filter_spec.rb
desk-1.0.2 spec/desk/client/filter_spec.rb
desk-1.0.1 spec/desk/client/filter_spec.rb
desk-1.0.0 spec/desk/client/filter_spec.rb