Sha256: 07ead1baede5b0826f189e0857f6a82652b27bde9dfc979f23f2e90091606e01

Contents?: true

Size: 221 Bytes

Versions: 16

Compression:

Stored size: 221 Bytes

Contents

describe StrongJSON::Type::Error do
  include StrongJSON::Types

  it "hgoehoge" do
    exn = StrongJSON::Type::Error.new(value: [], type: array(numeric), path: ["a",1,"b"])
    expect(exn.to_s).to be_a(String)
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
strong_json-0.9.0 spec/error_spec.rb
strong_json-0.8.0 spec/error_spec.rb
strong_json-0.7.1 spec/error_spec.rb
strong_json-0.7.0 spec/error_spec.rb
strong_json-0.6.0 spec/error_spec.rb
strong_json-0.5.0 spec/error_spec.rb
strong_json-0.4.0 spec/error_spec.rb
strong_json-0.3.0 spec/error_spec.rb
strong_json-0.2.0 spec/error_spec.rb
strong_json-0.1.2 spec/error_spec.rb
strong_json-0.1.1 spec/error_spec.rb
strong_json-0.1.0 spec/error_spec.rb
strong_json-0.0.4 spec/error_spec.rb
strong_json-0.0.3 spec/error_spec.rb
strong_json-0.0.2 spec/error_spec.rb
strong_json-0.0.1 spec/error_spec.rb