Learned to mock using RSpec
Spec for text compressor