redding / assert

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

Updates to work with rails #53

Closed jcredding closed 13 years ago

jcredding commented 13 years ago

@kelredd I changed the constants in this module to class methods so assert-rails can extend the module and modify them so in Rails it will try to load test/test_helper.rb.

jcredding commented 13 years ago

@kelredd This now includes the updates to setup and teardown so they can accept a method name. The changes we discussed previously with this are included.

I've also updated the loading process of assert so that assert-rails can have more control of things. See:

https://github.com/jcredding/assert-rails/blob/rake_tasks/lib/assert-rails.rb

for how. I also removed a double-call of Assert::Helpers#load.