defmodule Poxa.AuthenticationTest do
  use ExUnit.Case
  import Poxa.CryptoHelper

  test "hmac256_to_string" do
    assert hmac256_to_string("7ad3773142a6692b25b8", "1234.1234:private-foobar") == "58df8b0c36d6982b82c3ecf6b4662e34fe8c25bba48f5369f135bf843651c3a4"
  end

  test "md5_to_string" do
    assert md5_to_string("The quick brown fox jumps over the lazy dog") == "9e107d9d372bb6826bd81d3542a419d6"
  end
end

defmodule Poxa.CryptoHelperTest do
  use ExUnit.Case
  import Poxa.CryptoHelper

  test "hmac256_to_string" do
    assert hmac256_to_string("7ad3773142a6692b25b8", "1234.1234:private-foobar") == "58df8b0c36d6982b82c3ecf6b4662e34fe8c25bba48f5369f135bf843651c3a4"
  end

  test "md5_to_string" do
    assert md5_to_string("The quick brown fox jumps over the lazy dog") == "9e107d9d372bb6826bd81d3542a419d6"
  end
end

Fix copy and wrong paste
Fix copy and wrong paste

RobertoSchneiders/poxa,joshk/poxa,joshk/poxa,theinventor/rs-poxa,edgurgel/poxa,waffleio/poxa,edgurgel/poxa,waffleio/poxa,RobertoSchneiders/poxa,edgurgel/poxa