Sha256: 8ec8ab14f2e4741080610ccbbb15feeeb754f7783a7d52542f1e6a43e03f6e8e
Contents?: true
Size: 538 Bytes
Versions: 6
Compression:
Stored size: 538 Bytes
Contents
require 'spec_helper' module GoogleBook describe Book do use_vcr_cassette 'googlebook' subject { GoogleBook.find('deleuze').first } %w{images info preview creator date description format identifier isbn publisher subject title}.each do |attribute| its(attribute) { should_not be_nil } end context "images" do subject { GoogleBook.find('deleuze').first.images } %w{thumbnail small medium large}.each do |attribute| its(attribute) { should_not be_nil } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems