Sha256: fd61bd13603c1c7acc1769b9b0385f105bca16fcf7cdda8bfc7f0161bb367827

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'sms77/resources/balance'

RSpec.describe Sms77, 'balance' do
  it 'returns the account balance' do
    helper = Helper.new(Sms77::Resources::Balance)
    balance = helper.request(helper.resource.method(:retrieve), 155.55)
    expect(balance).to be_a(Float)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sms77-0.5.0 spec/sms77/balance_spec.rb