Sha256: 5a4aa1c51c70dcaef901d8f0895158c33c4da604e075ad3917233d5bd40b9ef9

Contents?: true

Size: 367 Bytes

Versions: 2

Compression:

Stored size: 367 Bytes

Contents

require 'helper'

class TestFavstar < Test::Unit::TestCase

  def setup
    @favstar = Stars::Favstar.new('holman')
  end

  def test_sets_username
    assert_equal @favstar.username, 'holman'
  end
  
  def test_parties_hard
    mock(Stars::Favstar).get('/users/holman/rss') { 
      {'rss' => {'channel' => {'item' => 'etc'} } }
    }
    @favstar.recent
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stars-0.1.1 test/test_favstar.rb
stars-0.1.0 test/test_favstar.rb