Sha256: a6add7ae350875692f33e058bb0f30bf3c35ea2332becd88491ddfe55495fcea
Contents?: true
Size: 850 Bytes
Versions: 1
Compression:
Stored size: 850 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 # 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?
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
authorizy-0.2.1 | spec/authorizy/rspec_spec.rb |