spec/lib/epubinfo/models/book_spec.rb in epubinfo-0.2.4 vs spec/lib/epubinfo/models/book_spec.rb in epubinfo-0.3.0
- old
+ new
@@ -10,9 +10,10 @@
its(:description) { should == 'Classic story of self-discovery, told in a unique manner by Kafka.' }
its(:publisher) { should == 'Random House' }
its(:source) { should == 'http://www.gutenberg.org/files/5200/5200-h/5200-h.htm' }
its(:languages) { should == ['en'] }
its(:rights) { should == 'Copyrighted. Read the copyright notice inside this book for details.' }
+ its(:drm_protected?) { should be_false }
context 'creators' do
it 'count should be 1' do
subject.creators.count.should == 1
end