spec/lib/sources/delicious_spec.rb in picky-2.1.2 vs spec/lib/sources/delicious_spec.rb in picky-2.2.0

- old
+ new

@@ -49,22 +49,22 @@ WWW::Delicious.should_receive(:new).and_return delicious end it "should yield the right data" do category = stub :b, :from => :tags - @source.harvest :anything, category do |id, token| + @source.harvest category do |id, token| [id, token].should == [1, "barefoot running shoe"] end end it "should yield the right data" do category = stub :b, :from => :title - @source.harvest :anything, category do |id, token| + @source.harvest category do |id, token| [id, token].should == [1, "VIBRAM - FiveFingers"] end end it "should yield the right data" do category = stub :b, :from => :url - @source.harvest :anything, category do |id, token| + @source.harvest category do |id, token| [id, token].should == [1, "http://www.vibramfivefingers.it/"] end end end describe "get_data" do \ No newline at end of file