Write Ruby on Rails applications more easily with Minimalizer
Minimalizer is a lightweight Ruby on Rails engine that enables you to write more minimal Ruby on Rails applications. Minimalizer convenience methods help you write simpler model and controller tests and declare basic controller behaviors with ease.
Model Test Helpers
Added to ActiveSupport::TestCase:
assert_errorsrefute_errorsvalidation_context
See lib/minimalizer/model_test_helpers.rb for more detailed documentation.
Controller Test Helpers
Added to ActionController::TestCase:
assert_redirectassert_renderassert_flash
See lib/minimalizer/controller_test_helpers.rb for more detailed
documentation.
Controller Helpers
Added to ActionController::Base:
self.new_actionsself.member_actionsrespond_to_booleanrespond_to_resourcecreate_resourceupdate_resourcedestroy_resourceenable_resourcedisable_resourcemass_update_resources
See lib/minimalizer/controller_helpers.rb for more detailed documentation.
License
Minimalizer is released under the MIT license. Copyright 2015 Theodore Kimble.