Sha256: be18fd08c3d54c0845c223299275e720d4ad186b00add893cfcffd7a134a76a1

Contents?: true

Size: 251 Bytes

Versions: 9

Compression:

Stored size: 251 Bytes

Contents

RSpec.describe Redd::Response::RaiseError do
  it "return nil if there's no error" do
    error = subject.on_complete(
      status: 200,
      body: {success: true},
      response_headers: {}
    )

    expect(error).to be(nil)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
redd-0.7.8 spec/redd/response/raise_error_spec.rb
redd-0.7.7 spec/redd/response/raise_error_spec.rb
redd-0.7.6 spec/redd/response/raise_error_spec.rb
redd-0.7.5 spec/redd/response/raise_error_spec.rb
redd-0.7.4 spec/redd/response/raise_error_spec.rb
redd-0.7.3 spec/redd/response/raise_error_spec.rb
redd-0.7.2 spec/redd/response/raise_error_spec.rb
redd-0.7.1 spec/redd/response/raise_error_spec.rb
redd-0.7.0 spec/redd/response/raise_error_spec.rb