Skip to content

Commit 7d67f82

Browse files
author
Tom Johnson
committed
Remove false as default assumption in Queryable specs
This assumption has only held for `RDF::Repository` in the past. The test should be replaced in either `Repository` or `Dataset`.
1 parent 122fb39 commit 7d67f82

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

lib/rdf/spec/queryable.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,18 +85,6 @@
8585
expect(solutions.size).to eq @statements.size
8686
end
8787

88-
it "returns statements from unnamed graphs with false graph_name" do
89-
pattern = RDF::Query::Pattern.new(nil, nil, nil, graph_name: false)
90-
solutions = []
91-
subject.send(method, pattern) {|s| solutions << s}
92-
93-
named_statements = subject.statements
94-
named_statements.reject! {|st| st.has_name?} unless
95-
subject.respond_to?(:graph_name) && !subject.graph_name.nil?
96-
97-
expect(solutions.size).to eq named_statements.size
98-
end
99-
10088
it "returns statements from named graphs with variable graph_name" do
10189
unless subject.graph_names.to_a.empty?
10290
pattern = RDF::Query::Pattern.new(nil, nil, nil, graph_name: :c)

0 commit comments

Comments
 (0)