Bump ruby to 2.1.2

This requires a change in a test because in ruby 2.1.2, trying to modify
a frozen class raises a RuntimeError, rather than a TypeError.
Merge pull request #69 from alphagov/bump-ruby-to-2.1.2

Bump ruby to 2.1.2