Sha256: 40beb691f04f30c7a1e01ba12968921b4a15ea23e058fe7ab777b3782d5462af

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 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')
    url.title.should == 'Getting_Things_Done'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wikipedia-client-1.6.4 spec/lib/url_spec.rb