Skip to content

Commit

Permalink
tests for filtering by contributor type. #632
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Sep 16, 2020
1 parent 00d06de commit a504db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/graphql/types/dissertation_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@

it "returns dissertations" do
response = LupoSchema.execute(query).as_json
puts response

expect(response.dig("data", "dissertations", "totalCount")).to eq(3)
expect(response.dig("data", "dissertations", "published")).to eq([{"count"=>3, "id"=>"2011", "title"=>"2011"}])
expect(response.dig("data", "dissertations", "nodes").length).to eq(3)
Expand Down

0 comments on commit a504db4

Please sign in to comment.