Sha256: 68d910c48e706d6d307f135a35278547658e52a6ba1f5e83bb97a35c3e091137
Contents?: true
Size: 664 Bytes
Versions: 14
Compression:
Stored size: 664 Bytes
Contents
# -*- coding: utf-8 -*- require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Kindai::Spread do before do @book = Kindai::Book.new_from_permalink('http://kindai.ndl.go.jp/info:ndljp/pid/922693') @spread = @book.spreads[4] end it 'has spread number' do @spread.spread_number.should == 5 end it 'has book' do @spread.book.should == @book end it 'has uri' do @spread.uri.should == 'http://kindai.ndl.go.jp/info:ndljp/pid/922693/5' end it 'has image_uri' do @spread.image_uri.should == "http://kindai.ndl.go.jp/view/jpegOutput?itemId=info%3Andljp%2Fpid%2F922693&contentNo=5&outputScale=1" end end
Version data entries
14 entries across 14 versions & 1 rubygems