Sha256: 8020c4b660615c30e37e2b9e0f2c3acb6ba2cb52e4a91f0164f4bbe140631f3b

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

RSpec.describe RatingChgkV2::Error do
  it 'raises NotFound for 404 status code' do
    expect do
      VCR.use_cassette('error/error_404') do
        test_client.player(3)
      end
    end.to raise_error(RatingChgkV2::Error::NotFound)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rating-chgk-v2-1.0.0 spec/lib/rating_chgk_v2/error_spec.rb
rating-chgk-v2-1.0.0.rc1 spec/lib/rating_chgk_v2/error_spec.rb