Sha256: ec88eec725696935e50079e4716d026ebbde3586c3fc006752deb080f458310b
Contents?: true
Size: 302 Bytes
Versions: 1
Compression:
Stored size: 302 Bytes
Contents
require 'spec_helpers/boot' describe OptoutController do it 'should not have protector subject' do OptoutController.effective_protector_subject.should == false end it 'do not restricts resources' do get :show, :id => 1 assigns(:optout).protector_subject?.should be_false end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
protector-inherited_resources-0.0.1 | spec/controllers/optout_spec.rb |