Sha256: cca798928ffe8a610695fca1fdf58787d940131f7ac1404325251e0e243912ae

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true

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

  describe '#list' do
    subject(:list) { described_class.new(client).list }

    it_behaves_like 'an API request'
    it_behaves_like 'a successful request'

    it('returns a list') { expect(list[RESULTS]).to be_a(Array) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
finapps-6.10.0 spec/rest/states_spec.rb