spec/spread_spec.rb in kindai-2.7.0 vs spec/spread_spec.rb in kindai-2.8.0

- old
+ new

@@ -1,11 +1,11 @@ # -*- 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') + @book = Kindai::Book.new_from_permalink('http://dl.ndl.go.jp/info:ndljp/pid/922693') @spread = @book.spreads[4] end it 'has spread number' do @spread.spread_number.should == 5 @@ -14,13 +14,13 @@ 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' + @spread.uri.should == 'http://dl.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" + @spread.image_uri.should == "http://dl.ndl.go.jp/view/jpegOutput?itemId=info%3Andljp%2Fpid%2F922693&contentNo=5&outputScale=1" end end