Sha256: 1a0c0e1c927d45a130e04ca196dad50e6016eadfdf491166895f997f6296776e
Contents?: true
Size: 393 Bytes
Versions: 1
Compression:
Stored size: 393 Bytes
Contents
require 'spec_helper' describe AmoCRM::Resources::Workflows do before do stub_rest 'Workflow' end subject { described_class.new client: client } it do expect(subject.list.count).to eq 2 end it do expect(subject.send(:list_path)).to eq "exchange/rest/ms/xml/Workflow/list" end it do expect(subject.list.first).to be_a AmoCRM::Entities::Workflow end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amo_crm-0.2.2 | spec/lib/amocrm/resources/workflows_spec.rb |