Sha256: eea632f81f5f4f57931923e61718c4259f97e8b77d7074ac6849f003bcc745e8

Contents?: true

Size: 411 Bytes

Versions: 11

Compression:

Stored size: 411 Bytes

Contents

require "spec_helper"

describe Myfinance::Entities::ReconcileCollection do
  let(:params) { double(headers: {}, parsed_body: [{}]) }

  subject { described_class.new(params) }

  context "#build" do
    it "returns order collection" do
      expect(subject.build).to be_a(described_class)
    end

    it "returns order" do
      subject.build
      expect(subject.collection.count).to eq(0)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
myfinance-1.8.2 spec/lib/myfinance/entities/reconcile_collection_spec.rb
myfinance-1.8.1 spec/lib/myfinance/entities/reconcile_collection_spec.rb
myfinance-1.8.0 spec/lib/myfinance/entities/reconcile_collection_spec.rb
myfinance-1.7.0 spec/lib/myfinance/entities/reconcile_collection_spec.rb
myfinance-1.6.6 spec/lib/myfinance/entities/reconcile_collection_spec.rb
myfinance-1.6.5 spec/lib/myfinance/entities/reconcile_collection_spec.rb
myfinance-1.6.4 spec/lib/myfinance/entities/reconcile_collection_spec.rb
myfinance-1.6.3 spec/lib/myfinance/entities/reconcile_collection_spec.rb
myfinance-1.6.1 spec/lib/myfinance/entities/reconcile_collection_spec.rb
myfinance-1.6.0 spec/lib/myfinance/entities/reconcile_collection_spec.rb
myfinance-1.5.0 spec/lib/myfinance/entities/reconcile_collection_spec.rb