Sha256: f0baca84cef51e1d8619f0009edf8bbd72fa7d65064660e7cbf51a402b4470b9

Contents?: true

Size: 325 Bytes

Versions: 13

Compression:

Stored size: 325 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

13 entries across 13 versions & 1 rubygems

Version Path
wikipedia-client-1.6.3 spec/lib/url_spec.rb
wikipedia-client-1.6.2 spec/lib/url_spec.rb
wikipedia-client-1.6.1 spec/lib/url_spec.rb
wikipedia-client-1.5.0 spec/lib/url_spec.rb
wikipedia-client-1.4.0 spec/lib/url_spec.rb
wikipedia-client-1.3.3 spec/lib/url_spec.rb
wikipedia-client-1.3.2 spec/lib/url_spec.rb
wikipedia-client-1.3.0 spec/lib/url_spec.rb
wikipedia-client-1.2.0 spec/lib/url_spec.rb
wikipedia-client-1.1.2 spec/lib/url_spec.rb
wikipedia-client-1.1.1 spec/lib/url_spec.rb
wikipedia-client-1.1.0 spec/lib/url_spec.rb
wikipedia-client-1.0.0 spec/lib/url_spec.rb