spec/unit/mailgun_spec.rb in mailgun-ruby-1.0.0 vs spec/unit/mailgun_spec.rb in mailgun-ruby-1.0.1
- old
+ new
@@ -22,15 +22,13 @@
@member_address = "subscribee@test.com"
end
it 'accepts only specific data types' do
@mb_obj = Mailgun::MessageBuilder.new()
- @mm_obj = Multimap.new()
@mh_obj = {}
expect {@mg_obj.send_message("test.com", "incorrect data")}.to raise_error
expect {@mg_obj.send_message("test.com", @mb_obj)}.not_to raise_error
- expect {@mg_obj.send_message("test.com", @mm_obj)}.not_to raise_error
expect {@mg_obj.send_message("test.com", @mh_obj)}.not_to raise_error
end
it 'sends a message' do
data = {'from' => 'joe@test.com',