Sha256: 5d17ed1a0901cd343506413334ea420e477dc4b471a8516615c850a5d2a23b4e

Contents?: true

Size: 531 Bytes

Versions: 50

Compression:

Stored size: 531 Bytes

Contents

require 'spec_helper'

module GoTransverseTractApi

  RSpec.describe Product::ProductPrice do
    before(:each) { http_auth }

    context ".find_by_eid" do
      it "returns a product price for a given eid" do
        data = described_class.find_by_eid(82)
        expect(data).to_not be_nil
      end
    end

    context ".find_by_product_eid" do
      it "returns a product price for a given product eid" do
        data = described_class.find_by_product_eid(51)
        expect(data).to_not be_nil
      end
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.14.0 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.13.0 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.12.0 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.11.2 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.11.1 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.11.0 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.10.0 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.9.2 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.9.1 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.9.0 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.8.1 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.8.0 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.7.5 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.7.4 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.7.3 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.7.2 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.7.1 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.7.0 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.6.7 spec/gotransverse-tract-api/product/product_price_spec.rb
gotransverse-tract-api-0.6.6 spec/gotransverse-tract-api/product/product_price_spec.rb