Sha256: 2e6f9b5b562861fccd330ce57629a9a12b7a0e2ce4e43135a7d53a6b9bf822d2
Contents?: true
Size: 588 Bytes
Versions: 1
Compression:
Stored size: 588 Bytes
Contents
require 'spec_helper' describe <%= class_name %>Policy do let(:user) { User.new } subject { <%= class_name %>Policy } permissions ".scope" do pending "add some examples to (or delete) #{__FILE__}" end permissions :create? do pending "add some examples to (or delete) #{__FILE__}" end permissions :show? do pending "add some examples to (or delete) #{__FILE__}" end permissions :update? do pending "add some examples to (or delete) #{__FILE__}" end permissions :destroy? do pending "add some examples to (or delete) #{__FILE__}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pundit-0.3.0 | lib/generators/rspec/templates/policy_spec.rb |