Sha256: 0c04a64af98bd37b0d930f5f91bea4315a637601d30d4dadde15d68136ae91b1
Contents?: true
Size: 514 Bytes
Versions: 3
Compression:
Stored size: 514 Bytes
Contents
require 'spec_helper' describe Smartdc::Api::Packages do describe ".packages", vcr: { cassette_name: 'packages/index' } do it "receives list of packages" do expect(Smartdc.packages.content.count).to be > 0 end end describe ".package", vcr: { cassette_name: 'packages/show' } do let(:id) do VCR.use_cassette('packages/index') { Smartdc.packages.content.first['id'] } end it "receives a package" do expect(Smartdc.package(id).content['id']).to eq(id) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
smartdc-2.0.2 | spec/smartdc/api/packages_spec.rb |
smartdc-2.0.1 | spec/smartdc/api/packages_spec.rb |
smartdc-2.0.0 | spec/smartdc/api/packages_spec.rb |