Sha256: 0e7c5c004730560f9caaae4dab96eb45947245eb933d144fb657faa5c5921107
Contents?: true
Size: 443 Bytes
Versions: 12
Compression:
Stored size: 443 Bytes
Contents
require 'spec_helper' module Arxiv describe Link do before(:all) { @link = Arxiv.get('1202.0819').links.last } describe "content_type" do it "should fetch the link's content type" do expect(@link.content_type).to eql('application/pdf') end end describe "url" do it "should fetch the link's url" do expect(@link.url).to eql('http://arxiv.org/pdf/1202.0819v1') end end end end
Version data entries
12 entries across 12 versions & 1 rubygems