Permalink
Browse files

get rid of unu in tests

  • Loading branch information...
1 parent bd82923 commit 59709baf2587b44e832e4c06f5e25b1f0bd2222a @rafmagana committed Jan 17, 2011
Showing with 1 addition and 12 deletions.
  1. +1 −12 test/test_mush.rb
View
13 test/test_mush.rb
@@ -25,7 +25,7 @@ class TestMush < Test::Unit::TestCase
context "All Services" do
setup do
s = Mush::Services
- @services = [s::IsGd, s::Bitly, s::Unu]
+ @services = [s::IsGd, s::Bitly]
end
should "be subclasses of Mush::Service" do
@@ -70,17 +70,6 @@ class TestMush < Test::Unit::TestCase
end
end
- context "Unu" do
- should "return a shortened url" do
- Mush::Services::Unu.any_instance.stubs(:get).with(instance_of(String), instance_of(Hash)).returns(@httparty_response)
-
- unu = Mush::Services::Unu.new
- unu_result = unu.shorten(@long_url)
-
- assert_equal @shortened_url, unu_result
- end
- end
-
context "Custom" do
should "return a shortened url" do
Mush::Services::Custom.any_instance.stubs(:get).with(instance_of(String), instance_of(Hash)).returns(@httparty_response)

0 comments on commit 59709ba

Please sign in to comment.