Sha256: 9237be926ff7e8fc7bff6c85d84df905531a23036ba222458811b922717b77e6
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true RSpec.describe RatingChgkV2::Endpoints::BaseEndpoint do subject { described_class.new test_client } let(:endpoint) { subject } it { is_expected.to respond_to(:do_get) } it { is_expected.to respond_to(:do_post) } it { is_expected.not_to respond_to(:very_wrong_method) } it 'raises an error when calling invalid methods' do expect { endpoint.very_wrong_method }.to raise_error(NoMethodError) 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/endpoints/base_endpoint_spec.rb |
rating-chgk-v2-1.0.0.rc1 | spec/lib/rating_chgk_v2/endpoints/base_endpoint_spec.rb |