This repo is meant to be used in conjunction with the Mocks & Stubs lesson plan.
- Start by running the
image_generator_test.rb
- Add a test for
#generate_images
and#change_max_size
in the corresponding./lib/image_generator.rb
by stubbing out the randomness that these methods rely on - Move on to the
user_test.rb
- Run the tests, and read through the comments carefully
- Using stubs and/or mocks, write the tests to confirm the rest of the functionality that exists in
./lib/user.rb