def ignore_authorization!
before(:each) do
registry = double 'Registry'
allow(registry).to receive_messages(:can? => true, :cannot? => false, :authorize! => nil, access_control_for!: registry)
allow(@controller).to receive(:current_allowy).and_return registry
end
end