Sha256: 13f59a279a587757d4d71391e2952f904df414f38d5f7c24d77a583fe3e6aae3

Contents?: true

Size: 608 Bytes

Versions: 14

Compression:

Stored size: 608 Bytes

Contents

# frozen_string_literal: true

require 'spec_helpers/client'
require 'rest/api_request'

RSpec.describe FinApps::REST::VerixMetadata do
  include SpecHelpers::Client

  # noinspection RubyBlockToMethodReference
  let(:api_client) { client }

  describe '#show' do
    subject(:show) { FinApps::REST::VerixMetadata.new(api_client).show }

    it_behaves_like 'an API request'
    it_behaves_like 'a successful request'
    it('returns the verix environment') { expect(show[RESULTS]).to have_key(:environment) }
    it('returns the verix client id') { expect(show[RESULTS]).to have_key(:client_id) }
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
finapps-5.0.32 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.31 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.30 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.29 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.28 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.27 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.26 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.25 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.24 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.23 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.22 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.21 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.20 spec/rest/verix/verix_metadata_spec.rb
finapps-5.0.19 spec/rest/verix/verix_metadata_spec.rb