test/test_favstar.rb in stars-0.1.1 vs test/test_favstar.rb in stars-0.2.0

- old
+ new

@@ -1,20 +1,16 @@ require 'helper' class TestFavstar < Test::Unit::TestCase def setup - @favstar = Stars::Favstar.new('holman') + @favstar = Stars::Favstar.new end - - def test_sets_username - assert_equal @favstar.username, 'holman' - end def test_parties_hard - mock(Stars::Favstar).get('/users/holman/rss') { + mock(Stars::Favstar).get('/users/holman/rss', :format => :xml) { {'rss' => {'channel' => {'item' => 'etc'} } } } - @favstar.recent + @favstar.recent('holman') end end \ No newline at end of file