Sha256: e648c6c9d4002628f137573d8b07a182b7ed1b00522b1919c114f84bd23a2015

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

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

  subject { described_class.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

2 entries across 2 versions & 1 rubygems

Version Path
finapps-5.0.34 spec/rest/version_spec.rb
finapps-5.0.33 spec/rest/version_spec.rb