fga-eps-mds/2018.2-IndicaAi

View on GitHub
indicaAi/spec/support/request_spec_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
# It is auxiliar module to test json requests
module RequestSpecHelper
  # Parse JSON response to ruby hash
  def json
    JSON.parse(response.body)
  end
end