Sha256: 9114282971e2c5b1b63afe6ae82517bbf922f83f29f0ab6f7e4c482fe69e8d30

Contents?: true

Size: 367 Bytes

Versions: 73

Compression:

Stored size: 367 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Commonmeta::Metadata, vcr: true do
  subject { described_class.new(input: input, from: 'crossref') }

  let(:input) { 'https://doi.org/10.1101/097196' }

  context 'json_schema_errors' do
    it 'is_valid' do
      response = subject.json_schema_errors
      expect(response).to be_nil
    end
  end
end

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
commonmeta-ruby-3.5 spec/schema_utils_spec.rb
commonmeta-ruby-3.4.5 spec/schema_utils_spec.rb
commonmeta-ruby-3.4.4 spec/schema_utils_spec.rb
commonmeta-ruby-3.4.3 spec/schema_utils_spec.rb
commonmeta-ruby-3.4.2 spec/schema_utils_spec.rb
commonmeta-ruby-3.4.1 spec/schema_utils_spec.rb
commonmeta-ruby-3.4.0 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.18 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.17 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.16 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.15 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.14 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.13 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.12 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.11 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.10 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.9 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.8 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.7 spec/schema_utils_spec.rb
commonmeta-ruby-3.3.6 spec/schema_utils_spec.rb