Skip to content

Commit

Permalink
Fixed bug in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ashrewdmint committed May 19, 2009
1 parent de8e079 commit 1493122
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/chirpy_test.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
require 'test_helper'

class ChirpyTest < Test::Unit::TestCase
@root = "http://twitter.com/"
@@root = "http://twitter.com/"

context "Class methods" do
should "request the public timeline URL" do
assert_equal @root + "statuses/public_timeline.xml", Chirpy.public_timeline.url
assert_equal @@root + "statuses/public_timeline.xml", Chirpy.public_timeline.url
end

should "request the test URL" do
assert_equal @root + "help/test.xml", Chirpy.test.url
assert_equal @@root + "help/test.xml", Chirpy.test.url
end

should "request a search URL" do
Expand Down

0 comments on commit 1493122

Please sign in to comment.