Sha256: 472f48c29c8bdf7c0faa3b5adad8f1e97f7bd71b2f57c29e7d5ac918dcbda992
Contents?: true
Size: 303 Bytes
Versions: 15
Compression:
Stored size: 303 Bytes
Contents
# frozen_string_literal: true RSpec.shared_examples 'Anon controller' do controller(described_class) do def an_action check_access!('required:permission') head :ok end def bad_action head :ok end def public public_action head :ok end end end
Version data entries
15 entries across 15 versions & 1 rubygems