Sha256: 07de2767d212b546bfc1bb91e7983aea325ad91939fdb27e8782e996d736b649
Contents?: true
Size: 560 Bytes
Versions: 7
Compression:
Stored size: 560 Bytes
Contents
# frozen_string_literal: true require 'test_helper' require 'hipsterhash' require 'httmultiparty' require 'smartling/client' describe Smartling::Auth do describe 'authenticate (first time)' do it 'POSTs to the authentication endpoint', :vcr do client = Smartling::Client.new client.authenticate! end end describe 'authenticate (twice)' do it 'POSTs to the authentication endpoint', :vcr do client = Smartling::Client.new client.authenticate! client.refresh_token! client.authenticate! end end end
Version data entries
7 entries across 7 versions & 1 rubygems