Sha256: a44631a25ce076456823ba38d77b9134e0b9dbb28a229c990b11513ffd98283d
Contents?: true
Size: 528 Bytes
Versions: 1
Compression:
Stored size: 528 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 '#index' do let(:response) { VCR.use_cassette('saving/index') { subject.index } } 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
base-api-client-0.3.1.beta | spec/base/apis/saving_spec.rb |