Skip to content

Commit d52e9d8

Browse files
committed
Minor change to queryable.
1 parent d63ab2e commit d52e9d8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Run tests
4040
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
4141
- name: Coveralls GitHub Action
42-
uses: coverallsapp/github-action@v1.1.2
42+
uses: coverallsapp/github-action@v2
4343
if: "matrix.ruby == '3.0'"
4444
with:
4545
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -67,7 +67,7 @@ jobs:
6767
- name: Run tests
6868
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
6969
- name: Coveralls GitHub Action
70-
uses: coverallsapp/github-action@v1.1.2
70+
uses: coverallsapp/github-action@v2
7171
if: "matrix.ruby == '3.0'"
7272
with:
7373
github-token: ${{ secrets.GITHUB_TOKEN }}

lib/rdf/spec/queryable.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,13 @@
257257
context "triple pattern combinations" do
258258
it "?s p o" do
259259
expect(subject.query({predicate: RDF::URI("http://example.org/p"), object: RDF::Literal.new(1)}).to_a).to(
260-
include *[RDF::Statement.new(RDF::URI("http://example.org/xi1"), RDF::URI("http://example.org/p"), 1), RDF::Statement.new(RDF::URI("http://example.org/xi2"), RDF::URI("http://example.org/p"), 1)]
260+
include(*[RDF::Statement.new(RDF::URI("http://example.org/xi1"), RDF::URI("http://example.org/p"), 1), RDF::Statement.new(RDF::URI("http://example.org/xi2"), RDF::URI("http://example.org/p"), 1)])
261261
)
262262
end
263263

264264
it "s ?p o" do
265265
expect(subject.query({subject: RDF::URI("http://example.org/xi2"), object: RDF::Literal.new(1)}).to_a).to(
266-
include *[RDF::Statement.new(RDF::URI("http://example.org/xi2"), RDF::URI("http://example.org/p"), 1)]
266+
include(*[RDF::Statement.new(RDF::URI("http://example.org/xi2"), RDF::URI("http://example.org/p"), 1)])
267267
)
268268
end
269269
end

0 commit comments

Comments
 (0)