Sha256: 7785bd5e7a3631039c404b32e4325091c60d99f86713506734954171e56bf09b

Contents?: true

Size: 391 Bytes

Versions: 5

Compression:

Stored size: 391 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

class AutoffTest < Test::Unit::TestCase
  include Twitterland
  
  context "Hitting the AutoFF API" do
    should "return a list of most tweeted-to users" do
      stub_get 'http://autoff.com/api/pengwynn', 'autoff.json'
      results = Twitterland::Autoff.user('pengwynn')
      results.should include('adamstac')
      
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
twitterland-0.4.6 test/twitterland/autoff_test.rb
twitterland-0.4.5 test/twitterland/autoff_test.rb
twitterland-0.4.4 test/twitterland/autoff_test.rb
twitterland-0.4.3 test/twitterland/autoff_test.rb
twitterland-0.4.2 test/twitterland/autoff_test.rb