Sha256: 4179371e0bd1523228d2764b2b31d7dc9ffc2e72a0ed42c205bea924f8902122

Contents?: true

Size: 375 Bytes

Versions: 4

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true

RSpec.describe RSpec::Matchers, '#be_authorized' do
  it 'pending' do
    matcher = be_authorized('controller', 'action', params: { params: true }, session: { session: true })

    expect(matcher.description).to eq %(
      be authorized "controller", "action", and {:params=>{:params=>true}, :session=>{:session=>true}}
    ).squish
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
authorizy-0.4.1 spec/authorizy/rspec_spec.rb
authorizy-0.4.0 spec/authorizy/rspec_spec.rb
authorizy-0.3.0 spec/authorizy/rspec_spec.rb
authorizy-0.2.2 spec/authorizy/rspec_spec.rb