- 11 Mar, 2014 3 commits
-
-
Jon Yurek committed
-
There were a bunch of free-floating methods in spec_helper. They were pulled over from test/helper, but they shouldn't be there. Move them into appropriate modules in spec/support. This commit also cleans up the "should_accept/reject_dummy_class methods in favor of using proper matchers directly. This commit should probably not get squashed or git will likely forget that those matcher specs are the same file because of how much changed.
Jon Yurek committed -
This is a big one. This change converts all of the existing tests from test/unit to RSpec. It's been a long time coming, and was specifically prompted by the inability of minitest to work with Appraisal across the various Rails versions. Instead of ironing out that headache, converting to RSpec was preferable (after initial probing). Many assertions are still assertions and are housed in the Assertions module, but they should be converted as they get touched. Similarly, since we're touching all the tests/specs, we convert all the hashes from 1.8 syntax to 1.9 syntax.
Jon Yurek committed
-