Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Nov 4, 2020
1 parent 31dd755 commit 454b1ab
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
bolognese (1.8.16)
bolognese (1.8.17)
activesupport (>= 4.2.5)
benchmark_methods (~> 0.7)
bibtex-ruby (>= 5.1.0)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Deploy Ruby Gem
name: Build Ruby Gem

on:
push:
branches:
- "master"
jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion lib/bolognese/.github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Ruby Gem
name: Release Ruby Gem

on:
release:
Expand Down
2 changes: 1 addition & 1 deletion lib/bolognese/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Bolognese
VERSION = "1.8.16"
VERSION = "1.8.17"
end
2 changes: 1 addition & 1 deletion spec/metadata_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
it "missing_comma" do
json = IO.read(fixture_path + "datacite_software_missing_comma.json")
response = subject.jsonlint(json)
expect(response).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:373]"])
expect(response).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:370]"])
end

it "overlapping_keys" do
Expand Down
2 changes: 1 addition & 1 deletion spec/readers/datacite_json_reader_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
input = fixture_path + "datacite_software_missing_comma.json"
subject = Bolognese::Metadata.new(input: input, from: "datacite_json", show_errors: true)
expect(subject.valid?).to be false
expect(subject.errors).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:373]"])
expect(subject.errors).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:370]"])
expect(subject.codemeta).to be_nil
end

Expand Down

0 comments on commit 454b1ab

Please sign in to comment.