# File tests/drivers/mock/instances_test.rb, line 65
    def test_it_responses_to_json
      get_auth_url '/api/instances', {}, { :format => :json }
      JSON::parse(last_response.body).class.should == Hash
      JSON::parse(last_response.body)['instances'].class.should == Array

      get_auth_url '/api/instances/inst1', {}, { :format => :json }
      last_response.status.should == 200
      JSON::parse(last_response.body).class.should == Hash
      JSON::parse(last_response.body)['instance'].class.should == Hash
    end