Skip to content

Commit

Permalink
Update crossref_json_reader_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenner committed Nov 23, 2022
1 parent c9a5a8f commit ae6089b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions spec/readers/crossref_json_reader_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
require 'spec_helper'

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

let(:input) { '10.7554/eLife.01567' }
let(:input) { "#{fixture_path}crossref.json" }

context 'get crossref_json raw' do
it 'journal article' do
input = "#{fixture_path}crossref.json"
subject = described_class.new(input: input, from: 'crossref_json')
expect(subject.raw).to eq(File.read(input).strip)
end
end
Expand Down

0 comments on commit ae6089b

Please sign in to comment.