Sha256: 57fb6b1b0797459d16114ef941f0bdeef8f83a9b8192bedd3cc61c1395cee52b
Contents?: true
Size: 419 Bytes
Versions: 6
Compression:
Stored size: 419 Bytes
Contents
shared_context 'permissor support' do let!(:public_user) { FactoryGirl.create(:user) } let!(:private_user) { FactoryGirl.create(:user) } let!(:public_user_page) { FactoryGirl.create(:page, :user => public_user)} let!(:private_user_page) { FactoryGirl.create(:page, :user => private_user)} before do public_user.wildcard_permit! 'public', 'Page' private_user.wildcard_permit! 'none', 'Page' end end
Version data entries
6 entries across 6 versions & 1 rubygems