We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b38b035 commit 122fb39Copy full SHA for 122fb39
1 file changed
lib/rdf/spec/queryable.rb
@@ -314,8 +314,7 @@
314
before { skip unless subject.respond_to?(:query_execute, true ) }
315
316
it "defines a protected #query_execute method" do
317
- expect(subject.class.protected_method_defined?(:query_execute))
318
- .to be_truthy
+ expect(subject.protected_methods).to include :query_execute
319
end
320
321
include_examples 'query execution', :query_execute
@@ -327,7 +326,7 @@
327
326
before { skip unless subject.respond_to?(:query_pattern, true ) }
328
329
it "defines a protected #query_pattern method" do
330
- expect(subject.class.protected_method_defined?(:query_pattern)).to be_truthy
+ expect(subject.protected_methods).to include :query_pattern
331
332
333
include_examples 'query pattern', :query_pattern
0 commit comments