Sha256: d94eb9e39b24f02701a80cbda09f42a14195ee5adf0378a1429b21d89d1148a4

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

describe Bitfinex do

  describe Bitfinex::Ticker do
    let(:ticker) { Bitfinex::Ticker.new "btcusd"}

    it 'contain the right type of values' do
      expect(ticker.high).to be_a_kind_of(Numeric)
      expect(ticker.low).to be_a_kind_of(Numeric)
      expect(ticker.average).to be_a_kind_of(Numeric)
      expect(ticker.last).to be_a_kind_of(Numeric)
      expect(ticker.buy).to be_a_kind_of(Numeric)
      expect(ticker.sell).to be_a_kind_of(Numeric)
      expect(ticker.volume).to be_a_kind_of(Numeric)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bitfinex-0.0.1 spec/bitfinex_spec.rb