davydovanton / kan

Simple, functional authorization library and role management for ruby
http://www.kanrb.org
MIT License
232 stars 12 forks source link

[FEATURE] RSpec Custom Matcher for Main Application (Phase 1) #15

Closed berniechiu closed 6 years ago

berniechiu commented 6 years ago

Objective

Add the custom RSpec matcher to easily test on ability classes

Feature

(1) A new custom matcher that simplifes what the application_spec.rb did in the first place

TODO

(1) Functionalities to test on user and post object against the Kan::Application (2) Support should syntax

berniechiu commented 6 years ago

thanks~