 # ext3 Disk create
 exports.create_disk = ->
   nock("https://api.linode.com")
+  .filteringPath(/api_key=[^&]*/g, 'api_key=fakeapikey')
   .get('/?api_key=fakeapikey&api_action=linode.disk.create&LinodeID=206097&Label=data&Type=ext3&Size=10000')
   .reply 200,
     """

# Boot Linode
exports.boot = ->
  nock('https://api.linode.com')
  .get('/?api_key=fakeapikey&api_action=linode.boot&LinodeID=206097')
  .reply 200,
    """


exports.avail_kernels = ->
  return nock("https://api.linode.com")
  .filteringPath(/api_key=[^&]*/g, 'api_key=fakeapikey')
  .get("/?api_key=fakeapikey&api_action=avail.kernels&")
  .reply 200,
    """
