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.2.1 spec/schema_utils_spec.rb
commonmeta-ruby-3.2.0 spec/schema_utils_spec.rb
commonmeta-ruby-3.0.10 spec/schema_utils_spec.rb
commonmeta-ruby-3.0.9 spec/schema_utils_spec.rb
commonmeta-ruby-3.0.8 spec/schema_utils_spec.rb
commonmeta-ruby-3.0.7 spec/schema_utils_spec.rb
commonmeta-ruby-3.0.6 spec/schema_utils_spec.rb
commonmeta-ruby-3.0.5 spec/schema_utils_spec.rb
commonmeta-ruby-3.0.4 spec/schema_utils_spec.rb
commonmeta-ruby-3.0.3 spec/schema_utils_spec.rb
commonmeta-ruby-3.0.2 spec/schema_utils_spec.rb
commonmeta-ruby-3.0.1 spec/schema_utils_spec.rb
commonmeta-ruby-3.0.0 spec/schema_utils_spec.rb