Skip to content

Commit

Permalink
account for existing test data
Browse files Browse the repository at this point in the history
  • Loading branch information
kjgarza committed Sep 27, 2021
1 parent 1891757 commit d73d9dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/graphql/types/work_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@
expect(response.dig("data", "works", "registrationAgencies")).to eq(
[{ "count" => 10, "id" => "datacite", "title" => "DataCite" }],
)
expect(response.dig("data", "works", "repositories").first).to eq(
{ "count" => 1, "id" => "testa.test1", "title" => "My data center" },
expect(response.dig("data", "works", "repositories").first["title"]).to eq(
"My data center"
)
expect(response.dig("data", "works", "languages")).to eq(
[{ "count" => 10, "id" => "nl", "title" => "Dutch" }],
Expand Down

0 comments on commit d73d9dc

Please sign in to comment.