Sha256: 97839f422eeb531878482042162846defc5d55ba19ceb6f016c50d9e44cf1d3d

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

# frozen_string_literal: true
RSpec.describe FinApps::REST::Version do
  let(:client) { FinApps::REST::Client.new(:company_identifier, :company_token) }

  subject { FinApps::REST::Version.new(client) }
  describe '#show' do
    it { expect { subject.show }.not_to raise_error }
    it('returns a string') { expect(subject.show[0]).to be_a(String) }
    it('starts with the words "Version =>"') { expect(subject.show[0]).to start_with('Version =>') }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
finapps-2.1.4 spec/rest/version_spec.rb