Sha256: a431224ac1b4b9383eb6e3e259f9cdc8c76d9ff7cedd78fb12670a421dcf73ea

Contents?: true

Size: 397 Bytes

Versions: 1

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'sms77/endpoint'

RSpec.describe Sms77, 'client' do
  it 'checks api key' do
    expect(Helper.client.api_key).to be_lengthy_string
  end

  it 'checks sentWith' do
    expect(Helper.client.sent_with).to be_lengthy_string
  end

  it 'fails authentication' do
    expect { Sms77::Client.new('') }.to raise_error(RuntimeError)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sms77-0.2.0 spec/sms77/client_spec.rb