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.14.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.13.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.12.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.11.2 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.11.1 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.11.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.10.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.9.2 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.9.1 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.9.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.8.1 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.8.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.7.5 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.7.4 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.7.3 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.7.2 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.7.1 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.7.0 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.6.7 spec/gotransverse-tract-api/order/bill_cycle_spec.rb
gotransverse-tract-api-0.6.6 spec/gotransverse-tract-api/order/bill_cycle_spec.rb