spec/rest/verix/verix_metadata_spec.rb in finapps-5.0.32 vs spec/rest/verix/verix_metadata_spec.rb in finapps-5.0.33
- old
+ new
@@ -8,10 +8,10 @@
# noinspection RubyBlockToMethodReference
let(:api_client) { client }
describe '#show' do
- subject(:show) { FinApps::REST::VerixMetadata.new(api_client).show }
+ subject(:show) { described_class.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) }