Skip to content

Commit

Permalink
Update solution.test.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
doublederek authored May 8, 2024
1 parent 5da42be commit 2687c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby/solution.test.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2687c3f

Please sign in to comment.