# 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 # matcher.actual # matcher.actual_formatted # matcher.and # matcher.description # matcher.diffable? # matcher.does_not_match? # matcher.expected # matcher.expected_formatted # matcher.expects_call_stack_jump? # matcher.failure_message # matcher.failure_message_when_negated # matcher.match_unless_raises # matcher.matcher_name # matcher.matcher_name= # matcher.matches? # matcher.or # matcher.present_ivars # matcher.rescued_exception # matcher.supports_block_expectations?