redding / assert

Assertion style testing framework.
https://github.com/redding/assert
MIT License
10 stars 1 forks source link

cleanup the old `class << self` method of adding context DSL methods #167

Closed kellyredding closed 10 years ago

kellyredding commented 10 years ago

This is a legacy way of adding class methods. Updated to define "dsl modules" and extend them onto the class. This also breaks up the dsl methods from the main context definition and organizes the context source files more like the tests were organized.

Overall, this is just a cleanup/reorg - no behavior changes.

Closes #162.

@jcredding ready for review.

jcredding commented 10 years ago

@kellyredding - Nice, looks good. :boom: I like how you had 3 test files that you just converted for your 3 modules.