Sha256: 9ad318925dd267f65191a009bcd88f60080b942543beac0cf0a11817bcafb8aa
Contents?: true
Size: 738 Bytes
Versions: 1
Compression:
Stored size: 738 Bytes
Contents
require 'spec_helper' describe SubscriptionLicenseFormat do before do client end context 'new' do subject { User.subscriptions.first.formats.first } it 'returns a subscription license format for current user' do expect(subject).to_not be_nil expect(subject).to be_a SubscriptionLicenseFormat end it 'parses info correctly' do # Test variables from this specific API call. # Might break if vcr recording is deleted. If so, use new values expect(subject.description).to eq "Huge" expect(subject.min_resolution).to eq 4000000 expect(subject.media_type).to eq "image" expect(subject.format).to eq "jpg" expect(subject.size).to eq "huge" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shutterstock-v2-0.0.1 | spec/client/subscription_license_format_spec.rb |