Sha256: 4186dbe00f1b9c7256659d78243d73e1e07ad913263884b20fb9ef6c094076ec

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true

RSpec.describe Authorizy::BaseCop, '#access?' do
  subject(:cop) { described_class.new('current_user', 'params', 'session', 'controller', 'action') }

  it 'returns false as default' do
    expect(cop.access?).to be(false)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authorizy-0.1.0 spec/authorizy/base_cop/access_question_spec.rb