Sha256: 6ff980bf47e8a051f5e0ec9e3592b4eac2e9dd147ac8e20bde1c1ee7615cb805
Contents?: true
Size: 397 Bytes
Versions: 1
Compression:
Stored size: 397 Bytes
Contents
require 'spec_helper' describe Moysklad::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 Moysklad::Entities::Workflow end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moysklad-0.3.0 | spec/lib/moysklad/resources/workflows_spec.rb |