 
 (defn app-request
   ([app path] (app-request app :get path))
-  ([app method path] (app (mock/request method path))))
+  ([app method path] (app (ring-mock/request method path))))
 
 (deftest test-master-routes
   (let [handler     (fn ([req] {:request req}))

            [clojure.string :refer [split]]
            [cheshire.core :as json]
            [puppetlabs.services.master.master-core :refer :all]
            [ring.mock.request :as mock]
            [schema.test :as schema-test]
            [puppetlabs.comidi :as comidi]
            [puppetlabs.services.protocols.jruby-puppet :as jruby]

        (let [resp (app (-> {:request-method :put
                          :content-type "something-crazy/for-content-type"
                          :uri "/v3/file_bucket_file/bar"}
                            (ring-mock/body "foo")))]
          (is (= "something-crazy/for-content-type"
                 (get-in resp [:request :content-type]))))))))

