require 'spec_helper'

describe Ehrmagerd::Translator do
  it 'translates a string into ehrmagerd-speak' do
    test_string1 = "Oh my god"
    expect(Ehrmagerd::Translator.translate(test_string1)).to eq "EHRMAGERD"

    test_string2 = "Dogecoins are dumb"
    expect(Ehrmagerd::Translator.translate(test_string1)).to eq "DERGERCERNS ER DERMB"
  end
end

require 'spec_helper'

describe Ehrmagerd::Translator do
  it 'translates a string into ehrmagerd-speak' do
    test_string1 = "OhMyGod, Goosebumps, my favorite books!"
    expect(Ehrmagerd::Translator.translate(test_string1)).to eq "ERMAHGERDGERSERBERMPSMAH FRAVRIT BERKS!"

    test_string2 = "Dogecoins are dumb"
    expect(Ehrmagerd::Translator.translate(test_string1)).to eq "DERGERCERNS ER DERMB"
  end
end

Update spec to use the test post request's string
Update spec to use the test post request's string
