Sha256: 964f4cfa0f697200b7e1043a825c80a54cbebaff23c0ecbc51a1ab7436a64ab3

Contents?: true

Size: 394 Bytes

Versions: 3

Compression:

Stored size: 394 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://app.rentjuice.com/api/#{RENTJUICER_API_KEY}"
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rentjuicer-0.3.0 spec/rentjuicer/client_spec.rb
rentjuicer-0.2.1 spec/rentjuicer/client_spec.rb
rentjuicer-0.2.0 spec/rentjuicer/client_spec.rb