-
-
Save floehopper/9e878e24c14be26d081d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In response to http://floehopper.lighthouseapp.com/projects/22289/tickets/73 and related to https://github.com/floehopper/mocha/pull/9#issue