README.md in base_editing_bootstrap-0.8.0 vs README.md in base_editing_bootstrap-0.9.0
- old
+ new
@@ -188,15 +188,23 @@
Policy
```ruby
require 'rails_helper'
##
# - check_default_responses default false, to check default responses
-# TODO should be configurable
-# [:show?, false],
+#
+# on true all are true
+# [:show?, true],
# [:destroy?, true],
# [:update?, true],
# [:create?, true],
# [:index?, true],
+#
+# when hash keys are:
+# - show
+# - destroy
+# - update
+# - create
+# - index
#
RSpec.describe ServicePolicy, type: :policy do
it_behaves_like "a standard base model policy", :service, check_default_responses: false
end
```