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.24.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.23.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.22.1 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.22.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.21.1 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.21.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.20.3 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.20.2 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.20.1 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.20.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.19.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.18.3 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.18.2 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.18.1 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.18.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.17.2 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.17.1 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.17.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.16.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.15.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb