spec/lib/sources/delicious_spec.rb in picky-0.9.0 vs spec/lib/sources/delicious_spec.rb in picky-0.9.1
- old
+ new
@@ -1,10 +1,18 @@
require 'spec_helper'
describe Sources::Delicious do
context "with file" do
-
+
+ describe "check_gem" do
+ # TODO How to actually test this?
+ #
+ it "checks if the gem is there" do
+ lambda { Sources::Delicious.new(:username, :password) }.should_not raise_error
+ end
+ end
+
describe "harvest" do
before(:each) do
@source = Sources::Delicious.new(:username, :password)
post1 = WWW::Delicious::Post.new
\ No newline at end of file