Sha256: efcd05a3933d098773aecf9d0037dc89abffbda3e9f2f16f789c679d04838c51

Contents?: true

Size: 390 Bytes

Versions: 5

Compression:

Stored size: 390 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../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

5 entries across 5 versions & 1 rubygems

Version Path
rentjuicer-0.4.4 spec/rentjuicer/client_spec.rb
rentjuicer-0.4.3 spec/rentjuicer/client_spec.rb
rentjuicer-0.4.2 spec/rentjuicer/client_spec.rb
rentjuicer-0.4.1 spec/rentjuicer/client_spec.rb
rentjuicer-0.4.0 spec/rentjuicer/client_spec.rb