Sha256: dcbd33499dad94879b1e5b3ac9b50e61c4c68606e6e34f5f92997bd413ea9e0b
Contents?: true
Size: 452 Bytes
Versions: 6
Compression:
Stored size: 452 Bytes
Contents
require 'spec_helper' RSpec.describe PortalConnectors::MakerClient do let(:client) { PortalConnectors::MakerClient.new } describe "#fetch_stocks", vcr: true do context "server response with success status" do it "returns stocks" do json_stock, ok = client.fetch_stocks expect(ok).to be_truthy expect(json_stock["sfox"]).to be_present expect(json_stock["ocbc"]).to be_present end end end end
Version data entries
6 entries across 6 versions & 1 rubygems