module ATM::Helper::TestCase

Public Instance Methods

retrive_based_on_username(test_run, username) click to toggle source
# File lib/atm_ruby/helpers/test_case.rb, line 4
def retrive_based_on_username(test_run, username)
  test_run['items'].map do |test_case|
    test_case['testCaseKey'] if test_case['userKey'] == username
  end.compact
end