Sha256: a3528b10f0ed7320c161436e7d3e353fbe2d51690bee359736faeeef254f75d3

Contents?: true

Size: 331 Bytes

Versions: 11

Compression:

Stored size: 331 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe Wikipedia::Url, 'like http://en.wikipedia.org/wiki/Getting_Things_Done' do
  it 'should have a title of Getting_Things_Done' do
    url = Wikipedia::Url.new('http://en.wikipedia.org/wiki/Getting_Things_Done')
    expect(url.title).to eq('Getting_Things_Done')
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wikipedia-client-1.15.0 spec/lib/url_spec.rb
wikipedia-client-1.14.0 spec/lib/url_spec.rb
wikipedia-client-1.13.0 spec/lib/url_spec.rb
wikipedia-client-1.12.0 spec/lib/url_spec.rb
wikipedia-client-1.11.0 spec/lib/url_spec.rb
wikipedia-client-1.10.0 spec/lib/url_spec.rb
wikipedia-client-1.9.1 spec/lib/url_spec.rb
wikipedia-client-1.9.0 spec/lib/url_spec.rb
wikipedia-client-1.8.0 spec/lib/url_spec.rb
wikipedia-client-1.7.1 spec/lib/url_spec.rb
wikipedia-client-1.7.0 spec/lib/url_spec.rb