Sha256: 312834d830ee2939cc7b051c99c9de5f38828339e08472329e572a9f9b30e9e9
Contents?: true
Size: 542 Bytes
Versions: 10
Compression:
Stored size: 542 Bytes
Contents
it "should generate Permits for Guest and Admin roles" @generator.should generate_permits :guest, :admin end it "should generate Permits for Guest and Admin roles" @generator.should generate_permits :guest, :admin end it "should inject permission exception handling into controller 'application_controller'" @generator.should update_controller :application do |clazz| clazz.should match /rescue_from CanCan::AccessDenied/ end end it "should generate 'cream' locale file" @generator.should generate_locale_file :cream end
Version data entries
10 entries across 10 versions & 1 rubygems