Skip to content

Instantly share code, notes, and snippets.

@dgorodnichy
Created April 9, 2020 17:42
Show Gist options
  • Save dgorodnichy/bb0ba5fc4bb8b64c121affa9065dfb37 to your computer and use it in GitHub Desktop.
Save dgorodnichy/bb0ba5fc4bb8b64c121affa9065dfb37 to your computer and use it in GitHub Desktop.
require 'posts_source/fake'
class Medium::Testing
def self.fake!
Medium.source = PostsSource::Fake
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment