Skip to content

Commit

Permalink
Test DecryptedEmail
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Denman committed May 23, 2017
1 parent 2fa4910 commit 664cd9e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/decrypted_email_test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# frozen_string_literal: true

require_relative './test_helper'
require_relative '../lib/decrypted_email'

describe DecryptedEmail do
let(:email) { DecryptedEmail.new(encrypted_email: 'b3d2dfd7dcc5d6c1d2f3d7dac3c6c7d2d7dcc09dd4dcc59dc3ca').to_s }

it 'will decrypt an encrypted email' do
email.must_equal '[email protected]'
end
end

0 comments on commit 664cd9e

Please sign in to comment.