Sha256: cbb4e944d11e1ee1b4b4dfa292bdd8e783dfd1b92bb7a18fcaa7e694ee59b8ab
Contents?: true
Size: 519 Bytes
Versions: 1
Compression:
Stored size: 519 Bytes
Contents
# frozen_string_literal: true #noinspection RubyResolve require 'spec_helper' require 'sms77/resource' #noinspection RubyResolve RSpec.describe Sms77, 'instance' do helper = Helper.new(Sms77::Resource) it 'checks api key' do expect(helper.resource.api_key).to be_lengthy_string end it 'checks sentWith' do expect(helper.resource.sent_with).to be_lengthy_string end it 'fails authentication' do expect { Sms77::Resource.new('') }.to raise_error(RuntimeError) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sms77-0.5.0 | spec/sms77/instance_spec.rb |