WardCunningham/Smallest-Federated-Wiki — pull request #54 by BryanDonovan (2011-10-19 16:59:44+00:00)
Title: Moved get_page and put_page to Page class

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.