Sha256: 6cbe47510838c8e6c6650428a618495fb03e3437ba07b84766d3aa6300256639

Contents?: true

Size: 412 Bytes

Versions: 94

Compression:

Stored size: 412 Bytes

Contents

package_require('ree_errors/not_found_error')

RSpec.describe ReeErrors::NotFoundError do
  it {
    klass = described_class.build(:code)
    error = klass.new('message')

    expect(klass).to be_a(Class)
    expect(error).to be_a(ReeErrors::Error)
    expect(error.message).to eq('message')
    expect(error.code).to eq(:code)
    expect(error.type).to eq(:not_found)
    expect(error.locale).to eq(nil)
  }
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
ree_lib-1.0.34 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.33 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.32 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.31 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.30 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.29 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.28 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.27 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.26 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.24 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.23 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.22 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.21 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.20 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.19 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.18 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.17 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.16 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.15 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb
ree_lib-1.0.14 lib/ree_lib/packages/ree_errors/spec/ree_errors/not_found_error_spec.rb