Sha256: bd067588f91accc8a8d0421ca436534ea2086796cd40221d434e11637e463d1c
Contents?: true
Size: 406 Bytes
Versions: 3
Compression:
Stored size: 406 Bytes
Contents
require_relative './spec_helper' module VzaarApi describe 'Rate limit' do let(:described_class) { EncodingPreset } let(:id) { api_envs['encoding_preset_id'] } before { setup_for :account_owner } it 'is available after each request' do EncodingPreset.find(id) expect(VzaarApi.rate_limit).to eq 200 expect(VzaarApi.rate_limit_remaining).to be < 200 end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vzaar_api-2.0.2 | examples/rate_limit_spec.rb |
vzaar_api-2.0.1 | examples/rate_limit_spec.rb |
vzaar_api-2.0.0 | examples/rate_limit_spec.rb |