spec/lib/sources/delicious_spec.rb in picky-0.10.4 vs spec/lib/sources/delicious_spec.rb in picky-0.10.5

- old
+ new

@@ -39,16 +39,10 @@ post1.uid = "5045d67b3f251e4ae966dffe71501763" post1.tags = ["barefoot", "running", "shoe"] post1.title = "VIBRAM - FiveFingers" post1.url = URI.parse('http://www.vibramfivefingers.it/') - # post2 = WWW::Delicious::Post.new - # post2.uid = "d0b16f4b7e998a3386052bc95ad0d695" - # post2.tags = ["floating", "title", "scrolling", "css", "javascript", "ui"] - # post2.title = "Floating Title when Scrolling" - # post2.url = URI.parse('http://mesh.scribblelive.com/Event/Value_Judgements_in_Interface_Design5') - delicious = stub :delicious, :posts_recent => [post1] WWW::Delicious.should_receive(:new).and_return delicious end it "should yield the right data" do @@ -77,15 +71,9 @@ post1 = WWW::Delicious::Post.new post1.uid = "5045d67b3f251e4ae966dffe71501763" post1.tags = ["barefoot", "running", "shoe"] post1.title = "VIBRAM - FiveFingers" post1.url = URI.parse('http://www.vibramfivefingers.it/') - - # post2 = WWW::Delicious::Post.new - # post2.uid = "d0b16f4b7e998a3386052bc95ad0d695" - # post2.tags = ["floating", "title", "scrolling", "css", "javascript", "ui"] - # post2.title = "Floating Title when Scrolling" - # post2.url = URI.parse('http://mesh.scribblelive.com/Event/Value_Judgements_in_Interface_Design5') delicious = stub :delicious, :posts_recent => [post1] WWW::Delicious.should_receive(:new).and_return delicious end \ No newline at end of file