Instantly share code, notes, and snippets.

Embed
What would you like to do?
describe '.pull' do
it "should end up with 3 posts" do
FakeWeb.clean_registry
FakeWeb.register_uri(:get, %r|http://mock.tumblr.com/api/read|, :response => "tumblr_posts.xml")
Shrk.expects(:create_or_update).times(3)
Shrk.pull
end
end
@floehopper

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment