File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change 3333 expect ( last_response . body ) . to include ( "<http://localhost:8282/tests/#{ test_id } >" )
3434 expect ( last_response . body ) . to include ( 'http://www.w3.org/ns/dcat#DataService' )
3535 expect ( last_response . body ) . to include ( 'https://w3id.org/ftr#Test' )
36- expect ( last_response . body ) . to include ( 'https://doi.org/10.25504/FAIRsharing' )
3736 end
3837 end
3938
Original file line number Diff line number Diff line change @@ -201,11 +201,10 @@ def self.build_root_json(classes)
201201 allow ( FAIRTest ) . to receive ( :send ) . and_call_original
202202 TEST_IDS . each do |test_id |
203203 allow ( FAIRTest ) . to receive ( :send ) . with ( test_id , anything ) . and_return ( FAIRTestStub . send ( test_id ) )
204- allow ( FAIRTest ) . to receive ( :send ) . with ( "#{ test_id } _about" ,
205- anything ) . and_return ( FAIRTestStub . send ( "#{ test_id } _about" ) )
206- allow ( FAIRTest ) . to receive ( :send ) . with ( "#{ test_id } _api" , anything ) . and_return ( FAIRTestStub . send ( "#{ test_id } _api" ) )
204+ allow ( FAIRTest ) . to receive ( :send ) . with ( "#{ test_id } _about" ) . and_return ( FAIRTestStub . send ( "#{ test_id } _about" ) )
205+ allow ( FAIRTest ) . to receive ( :send ) . with ( "#{ test_id } _api" ) . and_return ( FAIRTestStub . send ( "#{ test_id } _api" ) )
207206 end
208- allow ( FAIRTest ) . to receive ( :send ) . with ( anything , anything ) do |method_name , *args |
207+ allow ( FAIRTest ) . to receive ( :send ) . with ( anything , anything ) do |method_name , *_args |
209208 FAIRTestStub . send ( method_name )
210209 end
211210 stub_metrics = FAIRChampion ::HarvesterStub . get_tests_metrics ( tests : TEST_IDS )
You can’t perform that action at this time.
0 commit comments