Sha256: 27bc76703e26894a9c89bf9e58160b859431e2d46b55f8796f1d386c5b48d063
Contents?: true
Size: 534 Bytes
Versions: 7
Compression:
Stored size: 534 Bytes
Contents
require 'spec_helper' RSpec.describe Base::Apis::Saving do let(:client_secret) { Base::APIClient::ClientSecret.new } subject { Base::Apis::Saving.new client_secret } describe '::new' do include_examples 'Base::Apis::Something.new' end describe '#request' do let(:response) { VCR.use_cassette('Saving_request') { subject.request } } it 'contains code "200"' do expect(response.code).to eq '200' end it '@body contains saving' do expect(response.body).to match(/saving/) end end end
Version data entries
7 entries across 7 versions & 1 rubygems