Sha256: 66c00f43a10afb74e251ba8da60337067d888d3dc4e7871844f150260da6e906

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

require 'helper'

class TestFoursquare < Test::Unit::TestCase
  def setup
    @client = Whatser::Client.new(:oauth_token => '1234')
  end

  def test_key
    assert_equal 'foursquare', Whatser::Foursquare.new.key
  end

  def test_connection_url
    expected = "#{@client.api_uri}/oauth/services/foursquare/authorize"
    assert_equal expected, @client.foursquare.connection_url
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whatser-0.3.1 test/test_foursquare.rb
whatser-0.3.0 test/test_foursquare.rb