Sha256: 89366a4e3da2a41fcdf5631d9d2944525f6c9c0879f6d31c829eb6a76fa1cdaa

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

require 'spec_helper'

describe 'Fetching URLs from a service' do
  before(:all) { @list = ArchiveLister.list('http://ofqual.gov.uk') }

  subject(:list) { @list }

  it { should be_an(Array) }

  describe 'The first item' do
    subject(:item) { list.first }

    it { should be_an(Addressable::URI) }
    its(:path) { should eql('/') }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
archive_lister-0.0.1 spec/archive_lister_spec.rb