Sha256: cf9473f56b19181ef8fe3ed9fad08f3f2f7d04d6dd514d20b6978e3bfb06008f
Contents?: true
Size: 279 Bytes
Versions: 8
Compression:
Stored size: 279 Bytes
Contents
require 'spec_helper' require 'fixtures/models' describe CanCan::Rule do subject { CanCan::Rule.new :read, User, 1, 2, 3 } describe 'block' do before do subject.block = lambda { puts hello } end specify { subject.block.should respond_to(:call) } end end
Version data entries
8 entries across 8 versions & 1 rubygems