diff --git a/ruby/solution.test.rb b/ruby/solution.test.rb index e76f4fa..b98007f 100644 --- a/ruby/solution.test.rb +++ b/ruby/solution.test.rb @@ -1,6 +1,6 @@ RSpec.describe 'Playfair Decryption Script' do it 'outputs the correct decrypted text' do output = `ruby solution.rb` # Using backticks to execute the script and capture the output. - expect(output.strip).to eq(ENV['TEST_ANSWER']) # Compares the stripped output to the expected string. + expect(output.strip).to eq('HIPPOPOTOMONSTROSESQUIPPEDALIOPHOBIA') # Compares the stripped output to the expected string. end end