Sha256: 21a1aeca3f9f58ee14d0bffabccdfd2d6d6e4ea4026887e1234c60bd3e449f15

Contents?: true

Size: 512 Bytes

Versions: 1

Compression:

Stored size: 512 Bytes

Contents

require 'spec_helper'
require_relative '../../../lib/fedger_api/client'


describe FedgerAPI::Client, vcr: true do
  fedger_api_config = YAML::load_file(File.join(__dir__, '../../../fedger_api.yml'))

  let(:client) { FedgerAPI::Client.new(fedger_api_config['api_key']) }

  context FedgerAPI::Client::News do
    context '#latest_fundings' do
      subject { client.latest_fundings() }

      it { should be_an FedgerAPI::Response }
      it { should respond_to(:date_reference, :fundings) }
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fedger_api-0.0.1 spec/lib/client/news_spec.rb