spec/google/book/cover_spec.rb in google-book-0.2.2 vs spec/google/book/cover_spec.rb in google-book-0.3.0
- old
+ new
@@ -3,10 +3,10 @@
module Google
module Book
describe Cover do
use_vcr_cassette 'google'
- subject { Request.find('deleuze').to_books.first.cover }
+ subject { Book.search('deleuze').first.cover }
%w{thumbnail small medium large extra_large}.each do |attribute|
its(attribute) { should_not be_nil }
end
end