Class: ConvenientService::RSpec::Matchers::Classes::Results::BeNotError

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

Instance Attribute Summary

Attributes inherited from Base

#result

Instance Method Summary collapse

Methods inherited from Base

#==, #and_code, #and_data, #and_message, #chain, #comparing_by, #description, #failure_message, #failure_message_when_negated, #initialize, #matches?, #of_service, #of_step, #printer, #validator, #with_code, #with_data, #with_message, #without_data, #without_step

Methods included from Support::Concern

included

Constructor Details

This class inherits a constructor from ConvenientService::RSpec::Matchers::Classes::Results::Base

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>)


14
15
16
17
18
19
# File 'lib/convenient_service/rspec/matchers/classes/results/be_not_error.rb', line 14

def statuses
  [
    Service::Plugins::HasJSendResult::Constants::SUCCESS_STATUS,
    Service::Plugins::HasJSendResult::Constants::FAILURE_STATUS
  ]
end