lib/api_matchers.rb in api_matchers-0.1.1 vs lib/api_matchers.rb in api_matchers-0.2.0

- old
+ new

@@ -8,12 +8,14 @@ # HTTP Status Code Matchers # module HTTPStatusCode autoload :Base, 'api_matchers/http_status_code/base' autoload :BeBadRequest, 'api_matchers/http_status_code/be_bad_request' + autoload :BeNotFound, 'api_matchers/http_status_code/be_not_found' autoload :BeInternalServerError, 'api_matchers/http_status_code/be_internal_server_error' autoload :BeUnauthorized, 'api_matchers/http_status_code/be_unauthorized' + autoload :BeOk, 'api_matchers/http_status_code/be_ok' autoload :CreateResource, 'api_matchers/http_status_code/create_resource' end # Content Type Matchers # @@ -37,9 +39,10 @@ module Core autoload :FindInJSON, 'api_matchers/core/find_in_json' autoload :Setup, 'api_matchers/core/setup' autoload :Exceptions, 'api_matchers/core/exceptions' end + include ::APIMatchers::Core::Exceptions def self.setup yield(::APIMatchers::Core::Setup) end end