Sha256: fe77686f647387190f5c3bbece87b6f2d399ac78427ef92d9668d3339c202f24
Contents?: true
Size: 309 Bytes
Versions: 7
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true RSpec.describe Authorizy::BaseCop, '#access?' do let!(:params) { { 'controller' => 'controller', 'action' => 'action' } } let(:cop) { described_class.new('current_user', params, 'session') } it 'returns false as default' do expect(cop.access?).to be(false) end end
Version data entries
7 entries across 7 versions & 1 rubygems