Permalink
Browse files

Adding tests for Service.new_from_name for Echo and Email.

  • Loading branch information...
1 parent dfcdd1e commit 8cf43ba96af52b584bdb013333ff8addd817dd4c @jqr jqr committed Aug 29, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/unit/service_test.rb
@@ -16,7 +16,9 @@ def setup
end
test 'should be able to create new instance from name' do
+ assert_kind_of Snitch::Services::Echo, Snitch::Service.new_from_name(:echo, {})
assert_kind_of Snitch::Services::Twitter, Snitch::Service.new_from_name(:twitter, {})
assert_kind_of Snitch::Services::Campfire, Snitch::Service.new_from_name(:campfire, {})
+ assert_kind_of Snitch::Services::Email, Snitch::Service.new_from_name(:email, {})
end
end

0 comments on commit 8cf43ba

Please sign in to comment.