Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

Moved get_page and put_page to Page class #54

Merged
merged 3 commits into from
Oct 19, 2011

Conversation

BryanDonovan
Copy link
Contributor

Hi Ward, as a first step toward being able to isolate the page generation in tests, I created a Page class that has a configurable directory variable and two methods: get and put. This replaces get_page and put_page methods in the helper block in server.rb. I haven't added any tests for the Page class itself, but I think the server tests have enough coverage for this refactoring. I'll add the Page tests next.

Let me know what you think.

@WardCunningham WardCunningham merged commit 1f3dbd6 into WardCunningham:master Oct 19, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants