Sha256: 532bf062c69d202e9d9074a0fdcb881e5be6b6f42aa93d38bdf47ebe7de346e1
Contents?: true
Size: 476 Bytes
Versions: 11
Compression:
Stored size: 476 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 > 1 end end context ".find_by_eid" do it "returns a product for the given eid" do data = described_class.find_by_eid(50) expect(data['eid']).to eq('50') end end end end
Version data entries
11 entries across 11 versions & 1 rubygems