Sha256: c437db4e06934958ce25be15db8f80d093dea5df450b7912dbc2deff8e46f6b1

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

require 'spec_helper'

describe "Query" do

  before(:all) do
    @query = Ipdb::Query.new('64.13.134.52')
  end

  it "should return the Query url" do
    @query.url.should == 'http://ipinfodb.com/ip_query2.php?ip=64.13.134.52'
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ipdb-1.1.0 spec/query_spec.rb
ipdb-1.0.0 spec/query_spec.rb