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_errors
refute_errors
validation_context
See lib/minimalizer/model_test_helpers.rb
for more detailed documentation.
Controller Test Helpers
Added to ActionController::TestCase
:
assert_redirect
assert_render
assert_flash
See lib/minimalizer/controller_test_helpers.rb
for more detailed
documentation.
Controller Helpers
Added to ActionController::Base
:
self.new_actions
self.member_actions
create_resource
update_resource
destroy_resource
reorder_resources
toggle_resource_boolean_on
toggle_resource_boolean_off
See lib/minimalizer/controller_helpers.rb
for more detailed documentation.
License
Minimalizer is released under the MIT license. Copyright 2015 Theodore Kimble.