Sha256: 431f5a5e0f3aee45a9a462ba65458295bed66fe0932ca9fa7aac606c0b0d783a

Contents?: true

Size: 463 Bytes

Versions: 6

Compression:

Stored size: 463 Bytes

Contents

require 'spec_helper'

describe HttpMailer::MandrillServiceApi do
  
  describe "#send_messages_url" do
    let(:host){ "mandrillapp.com" }
    let(:protocol){ "https" }
    let(:version){ "1.0" }
    let(:service_api){ HttpMailer::MandrillServiceApi.new(host, protocol, version) }

    it 'returns the Mandrill send message endpoint URL' do
      expect(service_api.send_messages_url).to eq("https://mandrillapp.com/api/1.0/messages/send.json")
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
http_mailer-1.0.0 spec/mandrill/mandrill_service_api_spec.rb
http_mailer-0.0.5 spec/mandrill/mandrill_service_api_spec.rb
http_mailer-0.0.4 spec/mandrill/mandrill_service_api_spec.rb
http_mailer-0.0.3 spec/mandrill/mandrill_service_api_spec.rb
http_mailer-0.0.2 spec/mandrill/mandrill_service_api_spec.rb
http_mailer-0.0.1 spec/mandrill/mandrill_service_api_spec.rb