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.13 spec/schema_utils_spec.rb
commonmeta-ruby-3.12.1 spec/schema_utils_spec.rb
commonmeta-ruby-3.12.0 spec/schema_utils_spec.rb
commonmeta-ruby-3.11.0 spec/schema_utils_spec.rb
commonmeta-ruby-3.9.0 spec/schema_utils_spec.rb
commonmeta-ruby-3.8.3 spec/schema_utils_spec.rb
commonmeta-ruby-3.8.2 spec/schema_utils_spec.rb
commonmeta-ruby-3.8.1 spec/schema_utils_spec.rb
commonmeta-ruby-3.8.0 spec/schema_utils_spec.rb
commonmeta-ruby-3.7.3 spec/schema_utils_spec.rb
commonmeta-ruby-3.7.2 spec/schema_utils_spec.rb
commonmeta-ruby-3.7.1 spec/schema_utils_spec.rb
commonmeta-ruby-3.7.0 spec/schema_utils_spec.rb
commonmeta-ruby-3.6.1 spec/schema_utils_spec.rb
commonmeta-ruby-3.6 spec/schema_utils_spec.rb
commonmeta-ruby-3.5.5 spec/schema_utils_spec.rb
commonmeta-ruby-3.5.4 spec/schema_utils_spec.rb
commonmeta-ruby-3.5.3 spec/schema_utils_spec.rb
commonmeta-ruby-3.5.2 spec/schema_utils_spec.rb
commonmeta-ruby-3.5.1 spec/schema_utils_spec.rb