test/test_helper.rb in service_contract-0.5.1 vs test/test_helper.rb in service_contract-0.6.0
- old
+ new
@@ -2,9 +2,17 @@
CodeClimate::TestReporter.start
require 'minitest/autorun'
require 'service_contract'
class SampleService < ServiceContract::Avro::Service
+ VERSION = "0.1.2"
+
def self.data_dir
File.expand_path("../sample", __FILE__)
end
-end
\ No newline at end of file
+end
+
+class SampleDocumentation < ServiceContract::Avro::Documentation
+ def service
+ SampleService
+ end
+end