Sha256: d283bd8ba02a4c3c59120fe979d9b2e0c4f0d2ec8f74d6a9d70eb1bcc5efc5e3
Contents?: true
Size: 475 Bytes
Versions: 2
Compression:
Stored size: 475 Bytes
Contents
require 'spec_helper' module GoTransverseTractApi RSpec.describe Product::Product do before(:each) { http_auth } context ".find_all" do it "returns all products" do data = described_class.find_all expect(data.count).to be >= 0 end end context ".find_by_eid" do it "returns a product for the given eid" do data = described_class.find_by_eid(0) expect(data['eid']).to be_nil end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gotransverse-tract-api-0.5.1 | spec/gotransverse-tract-api/product/product_spec.rb |
gotransverse-tract-api-0.5.0 | spec/gotransverse-tract-api/product/product_spec.rb |