Sha256: 03d9a348d5825d27bcb08cf4672a8c39534dccfb05dc504b3019a34619f76916

Contents?: true

Size: 423 Bytes

Versions: 28

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true

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

  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 =>"') do
      expect(subject.show[0]).to start_with('Version =>')
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
finapps-5.0.11 spec/rest/version_spec.rb
finapps-5.0.10 spec/rest/version_spec.rb
finapps-5.0.9 spec/rest/version_spec.rb
finapps-5.0.8 spec/rest/version_spec.rb
finapps-5.0.7 spec/rest/version_spec.rb
finapps-5.0.6 spec/rest/version_spec.rb
finapps-5.0.5 spec/rest/version_spec.rb
finapps-5.0.4 spec/rest/version_spec.rb