Class: ConvenientService::RSpec::Matchers::Classes::Results::BeNotSuccess

Inherits:
Results::Base
  • Object
show all
Defined in:
lib/convenient_service/rspec/matchers/classes/results/be_not_success.rb

Instance Method Summary collapse

Instance Method Details

#statusesArray<Symbol>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Array<Symbol>)


19
20
21
22
23
24
# File 'lib/convenient_service/rspec/matchers/classes/results/be_not_success.rb', line 19

def statuses
  [
    Service::Plugins::HasJSendResult.failure_status,
    Service::Plugins::HasJSendResult.error_status
  ]
end