spec/integration_spec.rb in simple_postmark-0.4.3 vs spec/integration_spec.rb in simple_postmark-0.4.4
- old
+ new
@@ -94,8 +94,9 @@
it 'returns the response from postmarkapp.com' do
response = IntegrationMailer.email.deliver!.parsed_response
response['To'].must_equal(ENV['SIMPLE_POSTMARK_TO'])
response['Message'].must_equal('OK')
+ response['MessageID'].wont_be_empty
end
end
end if ENV['SIMPLE_POSTMARK_INTEGRATION_SPEC']