Sha256: b1fbd0e8275f7da03f67e685b28ce83a82df501bf5941174e5100cefc47e1fb7
Contents?: true
Size: 469 Bytes
Versions: 2
Compression:
Stored size: 469 Bytes
Contents
describe Moip2::KeysApi do let(:keys_api) { described_class.new sandbox_oauth_client } describe "#show" do let(:keys) do VCR.use_cassette("get_keys") do keys_api.show end end context 'when shooting request' do it { expect(keys).not_to be_nil } it { expect(keys.keys.basic_auth.secret).to eq "ABABABABABABABABABABABABABABABABABABABAB" } it { expect(keys.keys.basic_auth.token).to eq "01010101010101010101010101010101"} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
moip2-0.1.1 | spec/moip2/keys_spec.rb |
moip2-0.1.0 | spec/moip2/keys_spec.rb |