https://github.com/ericmeyer/conways_game_of_life_surrogate
This is a Ruby implementation of Conway's Game of Life with versions of the tests using both RSpec dynamic mocks and Surrogate mocks.
https://github.com/ericmeyer/conways_game_of_life_surrogate
Last synced: 4 months ago
JSON representation
This is a Ruby implementation of Conway's Game of Life with versions of the tests using both RSpec dynamic mocks and Surrogate mocks.
- Host: GitHub
- URL: https://github.com/ericmeyer/conways_game_of_life_surrogate
- Owner: ericmeyer
- Created: 2013-01-11T21:48:45.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-13T20:17:34.000Z (over 12 years ago)
- Last Synced: 2025-02-06T06:44:56.280Z (5 months ago)
- Language: Ruby
- Size: 133 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Conway's Game of Life
This is an implementation of Conway's Game of Life created on the Global Day of Code Retreat. It is meant to provide an example migration to using the Surrogate gem from using RSpec dynamic mocks. The code was originally implemented using RSpec, and afterwards converted to using Surrogate.
Surrogate can be found [here](https://github.com/JoshCheek/surrogate)
## The Blogs
The examples in this code are explained in a series of blogs. You can find the blogs providing detailed instructions here:
* [Migrating to Surrogate - Part 1](http://blog.8thlight.com/eric-meyer/2013/01/13/migrating_from_rspec_dynamic_mocks_to_surrogate_part1.html)
* [Migrating to Surrogate - Part 2](http://blog.8thlight.com/eric-meyer/2013/01/13/migrating_from_rspec_dynamic_mocks_to_surrogate_part2.html)## master Branch
The master branch uses Surrogate.
## rspec_dynamic_mocks Branch
The rspec_dynamic_mocks branch has the code as it was using RSpec dynamic mocks.