spec/lib/cmakevim/rspec.rb
# Public: Santitizes output of Vim command.
Santitizes output of Vim command.
Santitizes output of Vim command .
def validate_json_response(command)
      result = validate_response command
      result.gsub! '\'', '"'
      JSON.parse result
    end
def validate_json_response ( command ) result = validate_response command result . gsub! '\'' , '"' JSON . parse result end
Public: Santitizes output of Vim command.
Public : Santitizes output of Vim command .
command