Sha256: c4168a970e07aae226bec3932b383e27c598dfe3019c8ac59e911b04f9c854f9

Contents?: true

Size: 514 Bytes

Versions: 48

Compression:

Stored size: 514 Bytes

Contents

require 'spec_helper'

module GoTransverseTractApi

  RSpec.describe Order::BillCycle do
    before(:each) { http_auth }

    let(:eid) { '4086' }

    context ".find_by_eid" do
      it "returns a billing cycle for the given eid" do
        data = described_class.find_by_eid(eid)
        expect(data.count).to be >= 0
      end
    end

    context ".find_all" do
      it "returns all billing cycles" do
        data = described_class.find_all
        expect(data.count).to be >= 0
      end
    end

  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.6.5 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.6.4 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.6.3 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.6.2 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.6.1 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.6.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.5.3 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.5.2 spec/gotransverse-tract-api/order/bill_cycle_spec.rb