Sha256: d70fb5206b6e731cc0f7059c0be977a7efe7c31b54aad5caa240cef8a8f2a31c

Contents?: true

Size: 343 Bytes

Versions: 10

Compression:

Stored size: 343 Bytes

Contents

require 'spec_helper'

describe Rentjuicer::Client do
  
  before do
    @rentjuicer = new_rentjuicer
  end
  
  it "should set the api_key" do
    @rentjuicer.api_key.should == RENTJUICER_API_KEY
  end
  
  it "should set the base uri" do
    @rentjuicer.class.base_uri.should == "http://api.rentjuice.com/#{RENTJUICER_API_KEY}"
  end
  
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rentjuicer-0.8.0 spec/rentjuicer/client_spec.rb
rentjuicer-0.7.3 spec/rentjuicer/client_spec.rb
rentjuicer-0.7.2 spec/rentjuicer/client_spec.rb
rentjuicer-0.7.1 spec/rentjuicer/client_spec.rb
rentjuicer-0.6.3 spec/rentjuicer/client_spec.rb
rentjuicer-0.6.2 spec/rentjuicer/client_spec.rb
rentjuicer-0.6.1 spec/rentjuicer/client_spec.rb
rentjuicer-0.6.0 spec/rentjuicer/client_spec.rb
rentjuicer-0.5.1 spec/rentjuicer/client_spec.rb
rentjuicer-0.5.0 spec/rentjuicer/client_spec.rb