Sha256: 05756585ab250accaf169566639b2d2a9bf5fda08731e156af91dbe1dbc928a7

Contents?: true

Size: 565 Bytes

Versions: 2

Compression:

Stored size: 565 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module RSpec
    module Matchers
      module Custom
        module Results
          class BeNotSuccess < Results::Base
            ##
            # @api private
            #
            # @return [Array<Symbol>]
            #
            def statuses
              [
                Service::Plugins::HasJSendResult::Constants::FAILURE_STATUS,
                Service::Plugins::HasJSendResult::Constants::ERROR_STATUS
              ]
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
convenient_service-0.14.0 lib/convenient_service/rspec/matchers/custom/results/be_not_success.rb
convenient_service-0.13.0 lib/convenient_service/rspec/matchers/custom/results/be_not_success.rb